mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-29 09:15:49 +00:00
NOISSUE also preserve x.y.z version numbering in the application
This commit is contained in:
parent
0a89b04afd
commit
b2dbaaa9e2
@ -38,13 +38,7 @@ Config::Config()
|
|||||||
|
|
||||||
QString Config::printableVersionString() const
|
QString Config::printableVersionString() const
|
||||||
{
|
{
|
||||||
QString vstr = QString("%1.%2").arg(QString::number(VERSION_MAJOR), QString::number(VERSION_MINOR));
|
QString vstr = QString("%1.%2.%3").arg(QString::number(VERSION_MAJOR), QString::number(VERSION_MINOR), QString::number(VERSION_HOTFIX));
|
||||||
|
|
||||||
// if this is a hotfix release, append that
|
|
||||||
if (VERSION_HOTFIX > 0)
|
|
||||||
{
|
|
||||||
vstr += "." + QString::number(VERSION_HOTFIX);
|
|
||||||
}
|
|
||||||
|
|
||||||
// If the build is not a main release, append the channel
|
// If the build is not a main release, append the channel
|
||||||
if(VERSION_CHANNEL != "stable")
|
if(VERSION_CHANNEL != "stable")
|
||||||
|
Loading…
Reference in New Issue
Block a user