Show the build date of the nightlies in the About dialog

This commit is contained in:
Martin Kleusberg
2017-10-31 18:21:58 +01:00
parent 3fe181bba7
commit 0bc430bfad
3 changed files with 18 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#include "AboutDialog.h"
#include "ui_AboutDialog.h"
#include "version.h"
#include "sqlite.h"
#include "Application.h"
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
@@ -11,7 +11,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
this->setFixedSize(this->width(), this->height());
this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
ui->label_version->setText(tr("Version ") + APP_VERSION + "\n\n" +
ui->label_version->setText(tr("Version ") + Application::versionString() + "\n\n" +
tr("Qt Version ") + QT_VERSION_STR + "\n\n" +
#ifdef ENABLE_SQLCIPHER
tr("SQLCipher Version ") + SQLITE_VERSION