diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-06-14 15:06:23 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-06-14 15:14:01 +0200 |
commit | 7d72a8c36a872113583e6db85707a8f17f3d3927 (patch) | |
tree | 4a3554bbfed127b72420c4fbeea916837957a4bf /src/qt/bitcoin.cpp | |
parent | d59bce21e5dbb0a15051e40d5dd717fd7bf982d8 (diff) |
Show command line options as dialog when opened from debug window
On Linux/Mac the command-line options were printed to stderr when the button
was pressed in the debug window, resulting in confusion. This is fixed
in this commit by adding a separate method.
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r-- | src/qt/bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 8c8c73f065..b4e751077e 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -212,7 +212,7 @@ int main(int argc, char *argv[]) if (mapArgs.count("-?") || mapArgs.count("--help")) { GUIUtil::HelpMessageBox help; - help.exec(); + help.showOrPrint(); return 1; } |