mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-12 11:16:01 +02:00
Moving ifdef to xml
This commit is contained in:
parent
9df1517f02
commit
746b45d939
2 changed files with 10 additions and 9 deletions
|
@ -197,14 +197,6 @@ Application::Application(int& argc, char** argv, timeval &startup_time) :
|
|||
setOrganizationName(applicationInfo.value("organizationName").toString());
|
||||
setOrganizationDomain(applicationInfo.value("organizationDomain").toString());
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
_operatingSystem = new QString("win");
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
_operatingSystem = new QString("mac");
|
||||
#endif
|
||||
|
||||
checkVersion();
|
||||
|
||||
qDebug("[VERSION] Build sequence: %s\n", applicationVersion().toStdString().c_str());
|
||||
|
@ -4430,6 +4422,16 @@ void Application::checkVersion() {
|
|||
}
|
||||
|
||||
void Application::parseVersionXml(QNetworkReply *reply) {
|
||||
QString *_operatingSystem;
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
_operatingSystem = new QString("win");
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
_operatingSystem = new QString("mac");
|
||||
#endif
|
||||
|
||||
QString _releaseDate;
|
||||
QString _releaseNotes;
|
||||
|
||||
|
|
|
@ -218,7 +218,6 @@ public:
|
|||
void skipVersion();
|
||||
|
||||
QString *_latestVersion;
|
||||
QString *_operatingSystem;
|
||||
QUrl *_downloadURL;
|
||||
QWidget *_updateDialog;
|
||||
|
||||
|
|
Loading…
Reference in a new issue