src/Main.cc

changeset 632
63e6243b880c
parent 629
b75c6cce02e2
child 634
5ef894f699d7
child 682
c382df477b0c
--- a/src/Main.cc	Wed Feb 05 06:06:23 2014 +0200
+++ b/src/Main.cc	Thu Feb 06 20:43:22 2014 +0200
@@ -33,6 +33,7 @@
 #include "ConfigurationDialog.h"
 #include "Dialogs.h"
 #include "CrashCatcher.h"
+#include "GitInformation.h"
 
 QList<LDDocument*> g_loadedFiles;
 MainWindow* g_win = null;
@@ -121,8 +122,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