qt: Avoid resetting on resetguisettigs=0

This commit is contained in:
MarcoFalke 2018-03-26 15:13:33 -04:00
parent bb81e17355
commit 342fb80346
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,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);