reverted update code to old state

This commit is contained in:
fourtf
2020-08-24 09:52:24 +02:00
parent df2cfa73f0
commit 1501da7e72
+4 -4
View File
@@ -268,7 +268,7 @@ void Updates::checkForUpdates()
return Failure;
}
this->updateExe_ = updateExe_val.toString();
#endif
# ifdef Q_OS_WIN
/// Windows portable
QJsonValue portable_val = object.value("portable_download");
@@ -280,14 +280,14 @@ void Updates::checkForUpdates()
}
this->updatePortable_ = portable_val.toString();
# endif
#ifdef Q_OS_LINUX
#elif defined Q_OS_LINUX
QJsonValue updateGuide_val = object.value("updateguide");
if (updateGuide_val.isString())
{
this->updateGuideLink_ = updateGuide_val.toString();
}
#endif
#if !defined(Q_OS_WIN) && !defined(Q_OS_MACOS) && !defined(Q_OS_LINUX)
#else
return Failure;
#endif