mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Reintroduce the beta version naming hack
The changes in commit 3bcb634e06
were a bit over ambitious. There was a
reason why I had this hack in place and preparing for the beta reminded me
of that. Oops. Oh well. The code is back, adapted for the current release
cylcle.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e9918d03bb
commit
a5288fb60c
1 changed files with 5 additions and 0 deletions
|
@ -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>"
|
||||
|
|
Loading…
Add table
Reference in a new issue