mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 19:06:58 +03:00
WTF, I don't even...
This commit is contained in:
parent
2e0cbf393a
commit
13b1b98f7c
29 changed files with 632 additions and 772 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue