src/Main.cc

changeset 682
c382df477b0c
parent 676
f7f965742fd5
parent 632
63e6243b880c
child 684
8a56b1d4d44d
--- a/src/Main.cc	Thu Feb 06 22:11:28 2014 +0200
+++ b/src/Main.cc	Thu Feb 06 22:11:45 2014 +0200
@@ -34,6 +34,7 @@
 #include "ConfigurationDialog.h"
 #include "Dialogs.h"
 #include "CrashCatcher.h"
+#include "GitInformation.h"
 
 QList<LDDocument*> g_loadedFiles;
 MainWindow* g_win = null;
@@ -146,8 +147,8 @@
 // -----------------------------------------------------------------------------
 QString fullVersionString()
 {
-#if BUILD_ID != BUILD_RELEASE && defined (GIT_DESCRIBE)
-	return GIT_DESCRIBE;
+#if BUILD_ID != BUILD_RELEASE
+	return GIT_DESCRIPTION;
 #else
 	return "v" + versionString();
 #endif

mercurial