qt: Avoid resetting on resetguisettigs=0
This commit is contained in:
parent
bb81e17355
commit
342fb80346
1 changed files with 1 additions and 1 deletions
|
@ -691,7 +691,7 @@ int main(int argc, char *argv[])
|
||||||
// Allow parameter interaction before we create the options model
|
// Allow parameter interaction before we create the options model
|
||||||
app.parameterSetup();
|
app.parameterSetup();
|
||||||
// Load GUI settings from QSettings
|
// Load GUI settings from QSettings
|
||||||
app.createOptionsModel(gArgs.IsArgSet("-resetguisettings"));
|
app.createOptionsModel(gArgs.GetBoolArg("-resetguisettings", false));
|
||||||
|
|
||||||
// Subscribe to global signals from core
|
// Subscribe to global signals from core
|
||||||
uiInterface.InitMessage.connect(InitMessage);
|
uiInterface.InitMessage.connect(InitMessage);
|
||||||
|
|
Loading…
Add table
Reference in a new issue