From d61b5327051fce428f02542994387ba71367084f Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Mon, 19 Oct 2015 16:06:02 -0700 Subject: [PATCH] Add built date #4893 --- src/gui/res/AboutDialogBase.ui | 31 +++++++++++++++++++++++++++++++ src/gui/src/AboutDialog.cpp | 2 ++ 2 files changed, 33 insertions(+) diff --git a/src/gui/res/AboutDialogBase.ui b/src/gui/res/AboutDialogBase.ui index dae5394b..bd2e993d 100644 --- a/src/gui/res/AboutDialogBase.ui +++ b/src/gui/res/AboutDialogBase.ui @@ -157,6 +157,37 @@ Visit our website for help and info (synergy-project.org). + + + + + + + + Build Date: + + + + + + + Unknown + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + diff --git a/src/gui/src/AboutDialog.cpp b/src/gui/src/AboutDialog.cpp index ee528e9c..aefd3b72 100644 --- a/src/gui/src/AboutDialog.cpp +++ b/src/gui/src/AboutDialog.cpp @@ -32,6 +32,8 @@ AboutDialog::AboutDialog(QWidget* parent, const QString& synergyApp) : version = version + '-' + VERSION_STAGE + '-' + VERSION_REVISION; m_pLabelSynergyVersion->setText(version); + m_pLabelBuildDate->setText(QDate::currentDate().toString()); + // change default size based on os #if defined(Q_OS_MAC) QSize size(600, 380);