Index: main.cpp =================================================================== diff -u -r4e38f708244b0118abcf7e616af24aa8be3776b2 -rb543920c939d90945b271985dd9fbbae67e60b83 --- main.cpp (.../main.cpp) (revision 4e38f708244b0118abcf7e616af24aa8be3776b2) +++ main.cpp (.../main.cpp) (revision b543920c939d90945b271985dd9fbbae67e60b83) @@ -352,6 +352,11 @@ * and revision(build) version will be set to current date/time. */ void setApplicationVersion() { + const char sepRels = '-'; + const char sepVers = '.'; + const char sepComp = '-'; + + bool isOnServer = true; QString ver_major = QString("%1").arg(VER_MAJOR ); QString ver_minor = QString("%1").arg(VER_MINOR ); @@ -379,14 +384,15 @@ if ( isRelease ) { ver_branch = ver_branch.remove(0,QString("release/").length()).toUpper(); } - ver_major += '.'; - ver_minor += '.'; - ver_micro += '.'; + ver_major += sepVers; + ver_minor += sepVers; + ver_micro += sepVers; } } - if ( ! ver_branch.isEmpty()) ver_branch += '.'; - ver_comp = "-" + ver_comp; + if ( ! ver_branch.isEmpty()) ver_branch += sepRels; + ver_comp = sepComp + ver_comp; + QString version = ""; version += ver_branch ; version += ver_major ;