--- a/src/Main.cc Sat Feb 22 16:39:26 2014 +0200 +++ b/src/Main.cc Sun Feb 23 19:54:30 2014 +0200 @@ -33,7 +33,6 @@ #include "ConfigurationDialog.h" #include "Dialogs.h" #include "CrashCatcher.h" -#include "GitInformation.h" QList<LDDocument*> g_loadedFiles; MainWindow* g_win = null; @@ -102,29 +101,3 @@ fflush (fp); } -// ============================================================================= -// ----------------------------------------------------------------------------- -QString versionString() -{ - if (g_versionString.length() == 0) - { -#if VERSION_PATCH == 0 - g_versionString = fmt ("%1.%2", VERSION_MAJOR, VERSION_MINOR); -#else - g_versionString = fmt ("%1.%2.%3", VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH); -#endif // VERSION_PATCH - } - - return g_versionString; -} - -// ============================================================================= -// ----------------------------------------------------------------------------- -QString fullVersionString() -{ -#if BUILD_ID != BUILD_RELEASE - return GIT_DESCRIPTION; -#else - return "v" + versionString(); -#endif -} \ No newline at end of file