mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
Show commit id in title bar for all except Release versions.
This commit is contained in:
parent
2568f79a99
commit
376d04803a
@ -177,6 +177,11 @@ QString getGraphicsEngine()
|
||||
QString getBranchVersion()
|
||||
{
|
||||
QString version = STR_TR_AppVersion;
|
||||
|
||||
if (!((ReleaseStatus.compare("r", Qt::CaseInsensitive)==0) ||
|
||||
(ReleaseStatus.compare("release", Qt::CaseInsensitive)==0)))
|
||||
version += " ("+GIT_REVISION + ")";
|
||||
|
||||
if (GIT_BRANCH != "master") {
|
||||
version += " [Branch: " + GIT_BRANCH + "]";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user