summaryrefslogtreecommitdiff
path: root/muse2/muse/widgets/aboutbox_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/widgets/aboutbox_impl.cpp')
-rw-r--r--muse2/muse/widgets/aboutbox_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/widgets/aboutbox_impl.cpp b/muse2/muse/widgets/aboutbox_impl.cpp
index b53e246f..fcb96a1d 100644
--- a/muse2/muse/widgets/aboutbox_impl.cpp
+++ b/muse2/muse/widgets/aboutbox_impl.cpp
@@ -31,8 +31,8 @@ AboutBoxImpl::AboutBoxImpl()
setupUi(this);
imageLabel->setPixmap(*aboutMuseImage);
QString version(VERSION);
- QString svnrevision(SVNVERSION);
- versionLabel->setText("Version: " + version + " (svn revision: "+ svnrevision +")");
+ QString gitstring(GITSTRING);
+ versionLabel->setText("Version: " + version + (gitstring == QString() ? "" : "\n("+ gitstring + ")"));
}
}