summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-01-14 19:44:34 +0100
committerPetr Mrázek <peterix@gmail.com>2017-01-14 19:44:34 +0100
commitb2dbaaa9e291ac36dc4aeeeed1357fb7d5c6dbc9 (patch)
tree0560f62bd6bf7e652b7ab763ab563b82cfc1851b /application
parent0a89b04afd4e4a48eee5fa4b45f96394bd4f94c2 (diff)
downloadMultiMC-b2dbaaa9e291ac36dc4aeeeed1357fb7d5c6dbc9.tar
MultiMC-b2dbaaa9e291ac36dc4aeeeed1357fb7d5c6dbc9.tar.gz
MultiMC-b2dbaaa9e291ac36dc4aeeeed1357fb7d5c6dbc9.tar.lz
MultiMC-b2dbaaa9e291ac36dc4aeeeed1357fb7d5c6dbc9.tar.xz
MultiMC-b2dbaaa9e291ac36dc4aeeeed1357fb7d5c6dbc9.zip
NOISSUE also preserve x.y.z version numbering in the application0.5.0
Diffstat (limited to 'application')
-rw-r--r--application/BuildConfig.cpp.in8
1 files changed, 1 insertions, 7 deletions
diff --git a/application/BuildConfig.cpp.in b/application/BuildConfig.cpp.in
index 80620c82..70bc93d3 100644
--- a/application/BuildConfig.cpp.in
+++ b/application/BuildConfig.cpp.in
@@ -38,13 +38,7 @@ Config::Config()
QString Config::printableVersionString() const
{
- QString vstr = QString("%1.%2").arg(QString::number(VERSION_MAJOR), QString::number(VERSION_MINOR));
-
- // if this is a hotfix release, append that
- if (VERSION_HOTFIX > 0)
- {
- vstr += "." + QString::number(VERSION_HOTFIX);
- }
+ QString vstr = QString("%1.%2.%3").arg(QString::number(VERSION_MAJOR), QString::number(VERSION_MINOR), QString::number(VERSION_HOTFIX));
// If the build is not a main release, append the channel
if(VERSION_CHANNEL != "stable")