diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-04-23 09:27:30 -0700 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-04-23 09:27:30 -0700 |
commit | af10e3f6ac26a1ece7950f5263864c94049bf89d (patch) | |
tree | 5328158c26c9d2c7c5147ebe29e6698ab18a2607 /src/qt/bitcoin.cpp | |
parent | e9d769d143ae84306ee2a89b24cc253af582dc94 (diff) | |
parent | 41fdc1cad1777aeb4569c49a72d28b6a3b099093 (diff) |
Merge pull request #2526 from Diapolo/Qt_misc
Bitcoin-Qt: misc small changes
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r-- | src/qt/bitcoin.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index a7b026e789..25448ea8cf 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -146,12 +146,12 @@ int main(int argc, char *argv[]) // Application identification (must be set before OptionsModel is initialized, // as it is used to locate QSettings) - app.setOrganizationName("Bitcoin"); - app.setOrganizationDomain("bitcoin.org"); + QApplication::setOrganizationName("Bitcoin"); + QApplication::setOrganizationDomain("bitcoin.org"); if(GetBoolArg("-testnet")) // Separate UI settings for testnet - app.setApplicationName("Bitcoin-Qt-testnet"); + QApplication::setApplicationName("Bitcoin-Qt-testnet"); else - app.setApplicationName("Bitcoin-Qt"); + QApplication::setApplicationName("Bitcoin-Qt"); // ... then GUI settings: OptionsModel optionsModel; @@ -207,7 +207,6 @@ int main(int argc, char *argv[]) } app.processEvents(); - app.setQuitOnLastWindowClosed(false); try |