aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <[email protected]>2014-01-16 16:05:44 +0100
committerPhilip Kaufmann <[email protected]>2014-01-18 16:57:02 +0100
commit7b50bb2f1b96cb8964819e03eb044c3b88746946 (patch)
treebf67dbda25f0be285c549e528c031ee76e1eef69 /src/qt/rpcconsole.cpp
parentMerge pull request #3545 (diff)
downloaddiscoin-7b50bb2f1b96cb8964819e03eb044c3b88746946.tar.xz
discoin-7b50bb2f1b96cb8964819e03eb044c3b88746946.zip
[Qt] add utilitydialog.cpp/h and helpmessage class
- adds a nice and well formated dialog, which displays our -? help message (all options/paramaters) - moves aboutdialog.cpp/h to the new utilitydialog - move GUI shutdown window to utilitydialog
Diffstat (limited to 'src/qt/rpcconsole.cpp')
-rw-r--r--src/qt/rpcconsole.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index a8470572d..abb6ceb13 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -7,6 +7,7 @@
#include "clientmodel.h"
#include "guiutil.h"
+#include "utilitydialog.h"
#include "rpcserver.h"
#include "rpcclient.h"
@@ -443,8 +444,8 @@ void RPCConsole::scrollToEnd()
void RPCConsole::on_showCLOptionsButton_clicked()
{
- GUIUtil::HelpMessageBox help;
- help.exec();
+ HelpMessageDialog *help = new HelpMessageDialog(this);
+ help->show();
}
void RPCConsole::on_sldGraphRange_valueChanged(int value)