qt: Avoid resetting on resetguisettigs=0

Github-Pull: #12793
Rebased-From: 342fb8034640d4393771899dc132c9e3b170b369
This commit is contained in:
MarcoFalke 2018-03-26 15:13:33 -04:00
parent cbdabef35e
commit cf6feb7837

View File

@ -689,7 +689,7 @@ int main(int argc, char *argv[])
// Allow parameter interaction before we create the options model
app.parameterSetup();
// Load GUI settings from QSettings
app.createOptionsModel(gArgs.IsArgSet("-resetguisettings"));
app.createOptionsModel(gArgs.GetBoolArg("-resetguisettings", false));
// Subscribe to global signals from core
uiInterface.InitMessage.connect(InitMessage);