summaryrefslogtreecommitdiffstats
path: root/MultiMC.cpp
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-12-01 14:27:36 -0600
committerAndrew <forkk@forkk.net>2013-12-01 14:27:36 -0600
commit2427ad687137bbcfc7303a931d7e0b74d5325e48 (patch)
tree41eba6ced45761278f137eaf86b0f1da3c60996c /MultiMC.cpp
parenteff38858ef32239cd91044295ce7db3def857339 (diff)
downloadMultiMC-2427ad687137bbcfc7303a931d7e0b74d5325e48.tar
MultiMC-2427ad687137bbcfc7303a931d7e0b74d5325e48.tar.gz
MultiMC-2427ad687137bbcfc7303a931d7e0b74d5325e48.tar.lz
MultiMC-2427ad687137bbcfc7303a931d7e0b74d5325e48.tar.xz
MultiMC-2427ad687137bbcfc7303a931d7e0b74d5325e48.zip
Rework MultiMC's versioning system
Diffstat (limited to 'MultiMC.cpp')
-rw-r--r--MultiMC.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/MultiMC.cpp b/MultiMC.cpp
index 26d7e8c8..a41f5f0a 100644
--- a/MultiMC.cpp
+++ b/MultiMC.cpp
@@ -31,7 +31,8 @@
#include "config.h"
using namespace Util::Commandline;
-MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv)
+MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv),
+ m_version{VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD, VERSION_BUILD_TYPE}
{
setOrganizationName("MultiMC");
setApplicationName("MultiMC5");
@@ -105,8 +106,6 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv)
{
std::cout << "Version " << VERSION_STR << std::endl;
std::cout << "Git " << GIT_COMMIT << std::endl;
- std::cout << "Tag: " << JENKINS_BUILD_TAG << " " << (ARCH == x64 ? "x86_64" : "x86")
- << std::endl;
m_status = MultiMC::Succeeded;
return;
}