Move settings into a separate JSON file.

This will unfortunately mean losing your commands, but they can be restored by
converting the old commands.txt format into the commands.json file

Fix #372
This commit is contained in:
Rasmus Karlsson
2018-11-03 13:37:09 +01:00
parent 221ec4f1e8
commit a4fd7b5366
5 changed files with 110 additions and 64 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ void CompletionModel::refresh(const QString &prefix)
}
// Commands
for (auto &command : getApp()->commands->items.getVector())
for (auto &command : getApp()->commands->items_.getVector())
{
addString(command.name, TaggedString::Command);
}