diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-01-11 18:56:24 +0100 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-01-11 18:56:24 +0100 |
commit | 245a6ab1ae2655dede237ce25d9c50320ead5124 (patch) | |
tree | 63194c4bcb33ec4c1d48b17eeb3b039ba15eccbb /src/qt/bitcoin.cpp | |
parent | 5a407bd095218b38686f965ebd58c7c485a9242d (diff) |
[Qt] guard bitcoin-config.h and remove dublicated help message code
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r-- | src/qt/bitcoin.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 82d8af77d9..b8342b5a99 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -2,7 +2,10 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. +#if defined(HAVE_CONFIG_H) #include "bitcoin-config.h" +#endif + #include "bitcoingui.h" #include "clientmodel.h" @@ -553,15 +556,6 @@ int main(int argc, char *argv[]) // Subscribe to global signals from core uiInterface.InitMessage.connect(InitMessage); - // Show help message immediately after parsing command-line options (for "-lang") and setting locale, - // but before showing splash screen. - if (mapArgs.count("-?") || mapArgs.count("--help")) - { - GUIUtil::HelpMessageBox help; - help.showOrPrint(); - return 1; - } - if (GetBoolArg("-splash", true) && !GetBoolArg("-min", false)) app.createSplashScreen(isaTestNet); |