Skip to content

Commit 0a4fefe

Browse files
committed
Merge pull request #3511
245a6ab [Qt] guard bitcoin-config.h and remove dublicated help message code (Philip Kaufmann)
2 parents b68c618 + 245a6ab commit 0a4fefe

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/qt/bitcoin.cpp

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
// Distributed under the MIT/X11 software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5+
#if defined(HAVE_CONFIG_H)
56
#include "bitcoin-config.h"
7+
#endif
8+
69
#include "bitcoingui.h"
710

811
#include "clientmodel.h"
@@ -553,15 +556,6 @@ int main(int argc, char *argv[])
553556
// Subscribe to global signals from core
554557
uiInterface.InitMessage.connect(InitMessage);
555558

556-
// Show help message immediately after parsing command-line options (for "-lang") and setting locale,
557-
// but before showing splash screen.
558-
if (mapArgs.count("-?") || mapArgs.count("--help"))
559-
{
560-
GUIUtil::HelpMessageBox help;
561-
help.showOrPrint();
562-
return 1;
563-
}
564-
565559
if (GetBoolArg("-splash", true) && !GetBoolArg("-min", false))
566560
app.createSplashScreen(isaTestNet);
567561

0 commit comments

Comments
 (0)