show actual version nr in about dialog

This commit is contained in:
Wladimir J. van der Laan 2011-06-05 11:14:23 +02:00
parent afacb3406d
commit 4663e339b8

View file

@ -1,11 +1,14 @@
#include "aboutdialog.h" #include "aboutdialog.h"
#include "ui_aboutdialog.h" #include "ui_aboutdialog.h"
#include "util.h"
AboutDialog::AboutDialog(QWidget *parent) : AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent), QDialog(parent),
ui(new Ui::AboutDialog) ui(new Ui::AboutDialog)
{ {
ui->setupUi(this); ui->setupUi(this);
ui->versionLabel->setText(QString::fromStdString(FormatFullVersion()));
} }
AboutDialog::~AboutDialog() AboutDialog::~AboutDialog()