diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-01 17:06:36 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-01 17:06:36 +0200 |
commit | 0052fe7bbc2a4c244786e3a496263c045fb185c5 (patch) | |
tree | 7d4db95ddada4f2db935c2120da83d0b49237c4d /src/qt/aboutdialog.cpp | |
parent | c60015a26095ecf2e3a5fb6e04f8c1b6d31acad2 (diff) |
General cleanups
Diffstat (limited to 'src/qt/aboutdialog.cpp')
-rw-r--r-- | src/qt/aboutdialog.cpp | 10 |
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() |