aboutsummaryrefslogtreecommitdiff
path: root/src/qt/aboutdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/aboutdialog.cpp')
-rw-r--r--src/qt/aboutdialog.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/qt/aboutdialog.cpp b/src/qt/aboutdialog.cpp
index 13347961dd..13d263b75c 100644
--- a/src/qt/aboutdialog.cpp
+++ b/src/qt/aboutdialog.cpp
@@ -1,14 +1,18 @@
#include "aboutdialog.h"
#include "ui_aboutdialog.h"
-
-#include "util.h"
+#include "clientmodel.h"
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::AboutDialog)
{
ui->setupUi(this);
- ui->versionLabel->setText(QString::fromStdString(FormatFullVersion()));
+
+}
+
+void AboutDialog::setModel(ClientModel *model)
+{
+ ui->versionLabel->setText(model->formatFullVersion());
}
AboutDialog::~AboutDialog()