Added switch to get git hash and branch name

This commit is contained in:
Xian Nox committed 2013-12-18 17:35:21 +01:00
1 parent 6178d75cde
commit 64016fc8ff
2 files changed
+9 -6

No files matched your search

+1 -1
View File
@@ -134,7 +134,7 @@ void MainWidget::showAboutDialog()
about.setText(QString("QCMA ") + QCMA_VER);
about.setWindowTitle(tr("About QCMA"));
#ifndef BUILD_HASH
#ifndef QCMA_BUILD_HASH
about.setInformativeText(tr("Copyright (C) 2013 Codestation") + "\n");
#else
about.setInformativeText(tr("Copyright (C) 2013 Codestation\n\nbuild hash: %1\nbuild branch: %2").arg(BUILD_HASH).arg(BUILD_BRANCH));