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 @@ -184,6 +184,8 @@ class BitcoinApplication : public QApplication
184184 // / Create payment server
185185 void createPaymentServer ();
186186#endif
187+ // / parameter interaction/setup based on rules
188+ void parameterSetup ();
187189 // / Create options model
188190 void createOptionsModel ();
189191 // / Create main window
@@ -411,6 +413,11 @@ void BitcoinApplication::startThread()
411413 coreThread->start ();
412414}
413415
416+ void BitcoinApplication::parameterSetup ()
417+ {
418+ InitParameterInteraction ();
419+ }
420+
414421void BitcoinApplication::requestInitialize ()
415422{
416423 qDebug () << __func__ << " : Requesting initialize" ;
@@ -639,6 +646,8 @@ int main(int argc, char* argv[])
639646#endif
640647 // Install qDebug() message handler to route to debug.log
641648 qInstallMessageHandler (DebugMessageHandler);
649+ // Allow parameter interaction before we create the options model
650+ app.parameterSetup ();
642651 // Load GUI settings from QSettings
643652 app.createOptionsModel ();
644653
You can’t perform that action at this time.
0 commit comments