File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -201,6 +201,8 @@ class BitcoinApplication: public QApplication
201
201
// / Create payment server
202
202
void createPaymentServer ();
203
203
#endif
204
+ // / parameter interaction/setup based on rules
205
+ void parameterSetup ();
204
206
// / Create options model
205
207
void createOptionsModel (bool resetSettings);
206
208
// / Create main window
@@ -397,6 +399,11 @@ void BitcoinApplication::startThread()
397
399
coreThread->start ();
398
400
}
399
401
402
+ void BitcoinApplication::parameterSetup ()
403
+ {
404
+ InitParameterInteraction ();
405
+ }
406
+
400
407
void BitcoinApplication::requestInitialize ()
401
408
{
402
409
qDebug () << __func__ << " : Requesting initialize" ;
@@ -644,6 +651,8 @@ int main(int argc, char *argv[])
644
651
// Install qDebug() message handler to route to debug.log
645
652
qInstallMessageHandler (DebugMessageHandler);
646
653
#endif
654
+ // Allow parameter interaction before we create the options model
655
+ app.parameterSetup ();
647
656
// Load GUI settings from QSettings
648
657
app.createOptionsModel (mapArgs.count (" -resetguisettings" ) != 0 );
649
658
You can’t perform that action at this time.
0 commit comments