Commit abb8ea77 authored by Pierre Kim's avatar Pierre Kim

Display numerical version instead of git version

parent 10cc26da
......@@ -14,6 +14,7 @@
#include "CommandLineParser.h"
#include "CurrencyAdapter.h"
#include "Settings.h"
#include "version.h"
namespace WalletGui {
......@@ -118,7 +119,7 @@ bool Settings::isEncrypted() const {
}
QString Settings::getVersion() const {
return GIT_REVISION;
return PROJECT_VERSION_LONG;
}
bool Settings::isStartOnLoginEnabled() const {
......
......@@ -7,6 +7,7 @@
#include "Settings.h"
#include "ui_aboutdialog.h"
#include "version.h"
namespace WalletGui {
......@@ -14,7 +15,7 @@ AboutDialog::AboutDialog(QWidget* _parent) : QDialog(_parent), m_ui(new Ui::Abou
m_ui->setupUi(this);
setWindowTitle(QString(tr("About %1 Wallet")).arg(CurrencyAdapter::instance().getCurrencyDisplayName()));
QString aboutText = m_ui->m_aboutLabel->text();
m_ui->m_aboutLabel->setText(aboutText.arg(GIT_REVISION));
m_ui->m_aboutLabel->setText(aboutText.arg(PROJECT_VERSION_LONG));
}
AboutDialog::~AboutDialog() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment