diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-24 14:52:26 +1200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-24 14:52:26 +1200 |
commit | f912c05ea6c30e7f082c0ee53bb595bd6dbe57f7 (patch) | |
tree | f9056be3e7c2d2b3b7681f7b24ba38e6a615e6cf | |
parent | 0cedd9d37da7d6d029e52819fe8e2e465978997d (diff) | |
download | subsurface-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.cpp | 5 |
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())); |