aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-06-11 21:44:47 +0200
committerWladimir J. van der Laan <[email protected]>2014-06-12 16:11:56 +0200
commit5c97aae6da813ce4873651b31f75b26ea6f1352f (patch)
tree49a097ba2ee9219b1b1ae5b0bfb8f48897a4dbfe /src/qt/bitcoingui.cpp
parentAdd 'about' information to `-version` output (diff)
downloaddiscoin-5c97aae6da813ce4873651b31f75b26ea6f1352f.tar.xz
discoin-5c97aae6da813ce4873651b31f75b26ea6f1352f.zip
qt: Unify AboutDialog and HelpMessageDialog
They share so much code and functionality that they may as well be one class.
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r--src/qt/bitcoingui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index 847a3ab8f..30f5ec893 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -549,8 +549,7 @@ void BitcoinGUI::aboutClicked()
if(!clientModel)
return;
- AboutDialog dlg(this);
- dlg.setModel(clientModel);
+ HelpMessageDialog dlg(this, true);
dlg.exec();
}