diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2013-09-02 13:33:18 -0400 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2013-09-02 13:33:18 -0400 |
commit | b05fdd7bd212cf664eb64ec292936f1843a400f5 (patch) | |
tree | 406db9154dbe508b15404c3bb7f65b448d30ad12 /muse2/muse/widgets/aboutbox_impl.cpp | |
parent | 9d08fbdd3ee0e41dd6d13206a31043b72684ada4 (diff) |
About box displays the git string and year 2013
Diffstat (limited to 'muse2/muse/widgets/aboutbox_impl.cpp')
-rw-r--r-- | muse2/muse/widgets/aboutbox_impl.cpp | 4 |
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 + ")")); } } |