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
201201 // / Create payment server
202202 void createPaymentServer ();
203203#endif
204+ // / parameter interaction/setup based on rules
205+ void parameterSetup ();
204206 // / Create options model
205207 void createOptionsModel (bool resetSettings);
206208 // / Create main window
@@ -397,6 +399,11 @@ void BitcoinApplication::startThread()
397399 coreThread->start ();
398400}
399401
402+ void BitcoinApplication::parameterSetup ()
403+ {
404+ InitParameterInteraction ();
405+ }
406+
400407void BitcoinApplication::requestInitialize ()
401408{
402409 qDebug () << __func__ << " : Requesting initialize" ;
@@ -644,6 +651,8 @@ int main(int argc, char *argv[])
644651 // Install qDebug() message handler to route to debug.log
645652 qInstallMessageHandler (DebugMessageHandler);
646653#endif
654+ // Allow parameter interaction before we create the options model
655+ app.parameterSetup ();
647656 // Load GUI settings from QSettings
648657 app.createOptionsModel (mapArgs.count (" -resetguisettings" ) != 0 );
649658
You can’t perform that action at this time.
0 commit comments