|
|
@ -202,7 +202,7 @@ public: |
|
|
|
void createPaymentServer(); |
|
|
|
void createPaymentServer(); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
/// Create options model
|
|
|
|
/// Create options model
|
|
|
|
void createOptionsModel(); |
|
|
|
void createOptionsModel(bool resetSettings); |
|
|
|
/// Create main window
|
|
|
|
/// Create main window
|
|
|
|
void createWindow(const NetworkStyle *networkStyle); |
|
|
|
void createWindow(const NetworkStyle *networkStyle); |
|
|
|
/// Create splash screen
|
|
|
|
/// Create splash screen
|
|
|
@ -352,9 +352,9 @@ void BitcoinApplication::createPaymentServer() |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
void BitcoinApplication::createOptionsModel() |
|
|
|
void BitcoinApplication::createOptionsModel(bool resetSettings) |
|
|
|
{ |
|
|
|
{ |
|
|
|
optionsModel = new OptionsModel(); |
|
|
|
optionsModel = new OptionsModel(NULL, resetSettings); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void BitcoinApplication::createWindow(const NetworkStyle *networkStyle) |
|
|
|
void BitcoinApplication::createWindow(const NetworkStyle *networkStyle) |
|
|
@ -645,7 +645,7 @@ int main(int argc, char *argv[]) |
|
|
|
qInstallMessageHandler(DebugMessageHandler); |
|
|
|
qInstallMessageHandler(DebugMessageHandler); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
// Load GUI settings from QSettings
|
|
|
|
// Load GUI settings from QSettings
|
|
|
|
app.createOptionsModel(); |
|
|
|
app.createOptionsModel(mapArgs.count("-resetguisettings") != 0); |
|
|
|
|
|
|
|
|
|
|
|
// Subscribe to global signals from core
|
|
|
|
// Subscribe to global signals from core
|
|
|
|
uiInterface.InitMessage.connect(InitMessage); |
|
|
|
uiInterface.InitMessage.connect(InitMessage); |
|
|
|