summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-24 14:52:26 +1200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-24 14:52:26 +1200
commitf912c05ea6c30e7f082c0ee53bb595bd6dbe57f7 (patch)
treef9056be3e7c2d2b3b7681f7b24ba38e6a615e6cf
parent0cedd9d37da7d6d029e52819fe8e2e465978997d (diff)
downloadsubsurface-f912c05ea6c30e7f082c0ee53bb595bd6dbe57f7.tar.gz
Make the beta show a nicer version in the about screenv4.3.950
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/about.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/about.cpp b/qt-ui/about.cpp
index c6081dfe8..ff8776cf3 100644
--- a/qt-ui/about.cpp
+++ b/qt-ui/about.cpp
@@ -9,13 +9,16 @@ SubsurfaceAbout::SubsurfaceAbout(QWidget *parent, Qt::WindowFlags f) : QDialog(p
ui.setupUi(this);
setWindowModality(Qt::ApplicationModal);
+ QString versionString(GIT_VERSION_STRING);
+ if (versionString == "4.3.950")
+ versionString = "4.4 Beta 1";
ui.aboutLabel->setText(tr("<span style='font-size: 18pt; font-weight: bold;'>"
"Subsurface %1 </span><br><br>"
"Multi-platform divelog software<br>"
"<span style='font-size: 8pt'>"
"Linus Torvalds, Dirk Hohndel, Tomaz Canabrava, and others, 2011-2015"
- "</span>").arg(GIT_VERSION_STRING));
+ "</span>").arg(versionString));
QShortcut *close = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_W), this);
connect(close, SIGNAL(activated()), this, SLOT(close()));