summaryrefslogtreecommitdiffstats
path: root/AppVersion.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-03 15:57:33 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-03 15:57:33 +0200
commit13b1b98f7cf8a3b3b2c15dd42f96537b02c00711 (patch)
treeff3a67221e90eb9aa067e0b0d1f934fd4dd28534 /AppVersion.cpp
parent2e0cbf393a5320dbf5448ca44a9b5905314b0be8 (diff)
downloadMultiMC-13b1b98f7cf8a3b3b2c15dd42f96537b02c00711.tar
MultiMC-13b1b98f7cf8a3b3b2c15dd42f96537b02c00711.tar.gz
MultiMC-13b1b98f7cf8a3b3b2c15dd42f96537b02c00711.tar.lz
MultiMC-13b1b98f7cf8a3b3b2c15dd42f96537b02c00711.tar.xz
MultiMC-13b1b98f7cf8a3b3b2c15dd42f96537b02c00711.zip
WTF, I don't even...
Diffstat (limited to 'AppVersion.cpp')
-rw-r--r--AppVersion.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/AppVersion.cpp b/AppVersion.cpp
index 2db3da26..86b00920 100644
--- a/AppVersion.cpp
+++ b/AppVersion.cpp
@@ -17,9 +17,9 @@
#include "config.h"
-Version Version::current(VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD);
+AppVersion AppVersion::current(VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD);
-Version::Version(int major, int minor, int revision, int build, QObject *parent) :
+AppVersion::AppVersion(int major, int minor, int revision, int build, QObject *parent) :
QObject(parent)
{
this->major = major;
@@ -28,7 +28,7 @@ Version::Version(int major, int minor, int revision, int build, QObject *parent)
this->build = build;
}
-Version::Version(const Version& ver)
+AppVersion::AppVersion(const AppVersion& ver)
{
this->major = ver.major;
this->minor = ver.minor;
@@ -36,7 +36,7 @@ Version::Version(const Version& ver)
this->build = ver.build;
}
-QString Version::toString() const
+QString AppVersion::toString() const
{
return QString("%1.%2.%3.%4").arg(
QString::number(major),