Index: main.cpp =================================================================== diff -u -r787ba67792fef10fd3da4e5b1a5bbeb337797c16 -r27cb1be1e85e93cab858216f35c5d4d36a6ade5f --- main.cpp (.../main.cpp) (revision 787ba67792fef10fd3da4e5b1a5bbeb337797c16) +++ main.cpp (.../main.cpp) (revision 27cb1be1e85e93cab858216f35c5d4d36a6ade5f) @@ -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; + QString version = ""; version += ver_branch ; version += ver_major ;