diff options
Diffstat (limited to 'qt-ui/about.cpp')
-rw-r--r-- | qt-ui/about.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/about.cpp b/qt-ui/about.cpp index 73db74b0c..7d82808e3 100644 --- a/qt-ui/about.cpp +++ b/qt-ui/about.cpp @@ -10,6 +10,11 @@ SubsurfaceAbout::SubsurfaceAbout(QWidget *parent, Qt::WindowFlags f) : QDialog(p setWindowModality(Qt::ApplicationModal); QString versionString(subsurface_git_version()); + QStringList readableVersions = QStringList() << "4.4.95" << "4.5 Beta 1" << + "4.4.96" << "4.5 Beta 2" << + "4.4.97" << "4.5 Beta 3"; + if (readableVersions.contains(versionString)) + versionString = readableVersions[readableVersions.indexOf(versionString) + 1]; ui.aboutLabel->setText(tr("<span style='font-size: 18pt; font-weight: bold;'>" "Subsurface %1 </span><br><br>" |