# HG changeset patch # User Teemu Piippo # Date 1434929246 -10800 # Node ID 3003661011d20de7977d68232b756c8949c119a9 # Parent bdbbde5f754e148afab413810fddf6f1e53ac9cc Only include date in full version signature if not in a release diff -r bdbbde5f754e -r 3003661011d2 commonlib/version.cpp --- a/commonlib/version.cpp Mon Jun 22 01:44:30 2015 +0300 +++ b/commonlib/version.cpp Mon Jun 22 02:27:26 2015 +0300 @@ -45,11 +45,11 @@ QString versionSignature() { -#ifdef HG_DATE_STRING +#if defined (HG_DATE_STRING) && !defined (RELEASE) # define DATE_INFO " (" HG_DATE_STRING ")" #else # define DATE_INFO "" #endif return QString (APPNAME) + " " + versionString() + DATE_INFO; -} \ No newline at end of file +}