diff --git a/resources/shared/download/download.json b/resources/shared/updateinfo/updateinfo.json similarity index 100% rename from resources/shared/download/download.json rename to resources/shared/updateinfo/updateinfo.json diff --git a/resources/swiftresources.pro b/resources/swiftresources.pro index 405d008fa..32ad12d86 100644 --- a/resources/swiftresources.pro +++ b/resources/swiftresources.pro @@ -10,7 +10,7 @@ OTHER_FILES += local.env.template/*.* OTHER_FILES += local.env.template/bootstrap/*.* OTHER_FILES += shared//bootstrap/*.* OTHER_FILES += shared/dbdata/*.* -OTHER_FILES += shared/download/*.* +OTHER_FILES += shared/updateinfo/*.* COPY_FILES += $$PWD/data/images/flags/*.png COPY_FILES += $$PWD/data/images/airlines/*.png @@ -18,7 +18,7 @@ COPY_FILES += $$PWD/local.env.template/*.* COPY_FILES += $$PWD/local.env.template/bootstrap/*.* COPY_FILES += $$PWD/shared/bootstrap/*.* COPY_FILES += $$PWD/shared/dbdata/*.* -COPY_FILES += $$PWD/shared/download/*.* +COPY_FILES += $$PWD/shared/updateinfo/*.* package_resources.path = $$PREFIX package_resources.files += data diff --git a/src/blackcore/blackcorefreefunctions.cpp b/src/blackcore/blackcorefreefunctions.cpp index 7a174cdd7..10ca2d311 100644 --- a/src/blackcore/blackcorefreefunctions.cpp +++ b/src/blackcore/blackcorefreefunctions.cpp @@ -6,7 +6,7 @@ #include "blackcorefreefunctions.h" #include "blackcore/webreaderflags.h" #include "blackcore/data/globalsetup.h" -#include "blackcore/data/download.h" +#include "blackcore/data/updateinfo.h" #include "voice_channel.h" @@ -29,7 +29,7 @@ namespace BlackCore qDBusRegisterMetaType(); BlackCore::Data::CGlobalSetup::registerMetadata(); - BlackCore::Data::CDownload::registerMetadata(); + BlackCore::Data::CUpdateInfo::registerMetadata(); BlackCore::CSetupReader::instance(); // kick off reader } } // namespace diff --git a/src/blackcore/data/globalsetup.cpp b/src/blackcore/data/globalsetup.cpp index 41880806a..7f8df7bb1 100644 --- a/src/blackcore/data/globalsetup.cpp +++ b/src/blackcore/data/globalsetup.cpp @@ -87,12 +87,12 @@ namespace BlackCore CGlobalSetup::versionString() + "/productive/bootstrap/bootstrap.json"); } - CUrlList CGlobalSetup::downloadInfoUrls() const + CUrlList CGlobalSetup::updateInfoUrls() const { CUrlList urls(m_sharedUrls); return urls.appendPath(isDevelopment() ? - CGlobalSetup::versionString() + "/development/download/download.json" : - CGlobalSetup::versionString() + "/productive/download/download.json"); + CGlobalSetup::versionString() + "/development/updateinfo/updateinfo.json" : + CGlobalSetup::versionString() + "/productive/updateinfo/updateinfo.json"); } CUrlList CGlobalSetup::swiftDbDataFileLocationUrls() const @@ -117,8 +117,8 @@ namespace BlackCore s.append(boolToYesNo(isDevelopment())); s.append(separator); - s.append("Download URLs: "); - s.append(downloadInfoUrls().toQString(i18n)); + s.append("Update info URLs: "); + s.append(updateInfoUrls().toQString(i18n)); s.append(separator); s.append("Bootstrap URLs: "); s.append(bootstrapUrls().toQString(i18n)); @@ -183,8 +183,8 @@ namespace BlackCore return CVariant::fromValue(this->m_vatsimDataFileUrls); case IndexVatsimMetars: return CVariant::fromValue(this->m_vatsimMetarsUrl); - case IndexDownload: - return CVariant::fromValue(this->downloadInfoUrls()); + case IndexUpdateInfo: + return CVariant::fromValue(this->updateInfoUrls()); case IndexBootstrap: return CVariant::fromValue(this->bootstrapUrls()); case IndexSwiftDbFiles: diff --git a/src/blackcore/data/globalsetup.h b/src/blackcore/data/globalsetup.h index 677cae8d6..0ac13da87 100644 --- a/src/blackcore/data/globalsetup.h +++ b/src/blackcore/data/globalsetup.h @@ -24,7 +24,7 @@ namespace BlackCore { namespace Data { - //! Settings for readers + //! Global settings for readers, debug flags, etc. class BLACKCORE_EXPORT CGlobalSetup : public BlackMisc::CValueObject, public BlackMisc::ITimestampBased @@ -42,7 +42,7 @@ namespace BlackCore IndexVatsimData, IndexSwiftDbFiles, IndexBootstrap, - IndexDownload, + IndexUpdateInfo, IndexShared }; @@ -94,8 +94,8 @@ namespace BlackCore //! Bootstrap URLs (where the data for the setup itself can be downloaded) BlackMisc::Network::CUrlList bootstrapUrls() const; - //! Version files and download locations - BlackMisc::Network::CUrlList downloadInfoUrls() const; + //! Version and download locations + BlackMisc::Network::CUrlList updateInfoUrls() const; //! Alternative locations of swift DB data files BlackMisc::Network::CUrlList swiftDbDataFileLocationUrls() const; @@ -149,7 +149,7 @@ namespace BlackCore struct GlobalSetup : public BlackCore::CDataTrait { //! Key in data cache - static const char *key() { return "readers/global/bootstrap"; } + static const char *key() { return "readers/global/setup"; } //! Default value static const CGlobalSetup &defaultValue() diff --git a/src/blackcore/data/download.cpp b/src/blackcore/data/updateinfo.cpp similarity index 87% rename from src/blackcore/data/download.cpp rename to src/blackcore/data/updateinfo.cpp index 118ad2b18..27a811aa4 100644 --- a/src/blackcore/data/download.cpp +++ b/src/blackcore/data/updateinfo.cpp @@ -7,7 +7,7 @@ * contained in the LICENSE file. */ -#include "download.h" +#include "updateinfo.h" #include "blackmisc/blackmiscfreefunctions.h" #include "blackmisc/project.h" #include @@ -19,7 +19,7 @@ namespace BlackCore { namespace Data { - CDownload::CDownload() : + CUpdateInfo::CUpdateInfo() : ITimestampBased(0), m_downloadsStableUrls(QStringList {"http://swift-project.org/"}), m_downloadsBetaUrls(QStringList {"http://swift-project.org/"}), @@ -29,27 +29,27 @@ namespace BlackCore m_lastSupportedVersionBeta("0.6") { } - CUrlList CDownload::getDownloadUrls() const + CUrlList CUpdateInfo::getDownloadUrls() const { return CProject::isBetaTest() ? getDownloadUrlsBeta() : getDownloadUrlsStable(); } - QString CDownload::getLatestVersion() const + QString CUpdateInfo::getLatestVersion() const { return CProject::isBetaTest() ? getLatestVersionBeta() : getLatestVersionStable(); } - bool CDownload::hasSameType(const CDownload &otherDownload) const + bool CUpdateInfo::hasSameType(const CUpdateInfo &otherDownload) const { return this->isDevelopment() == otherDownload.isDevelopment(); } - QString CDownload::convertToQString(bool i18n) const + QString CUpdateInfo::convertToQString(bool i18n) const { return convertToQString(", ", i18n); } - QString CDownload::convertToQString(const QString &separator, bool i18n) const + QString CUpdateInfo::convertToQString(const QString &separator, bool i18n) const { QString s("timestamp: "); s.append(this->getFormattedUtcTimestampYmdhms()); @@ -75,7 +75,7 @@ namespace BlackCore return s; } - CVariant CDownload::propertyByIndex(const BlackMisc::CPropertyIndex &index) const + CVariant CUpdateInfo::propertyByIndex(const BlackMisc::CPropertyIndex &index) const { if (index.isMyself()) { return CVariant::from(*this); } if (ITimestampBased::canHandleIndex(index)) { return ITimestampBased::propertyByIndex(index); } @@ -100,9 +100,9 @@ namespace BlackCore } } - void CDownload::setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index) + void CUpdateInfo::setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index) { - if (index.isMyself()) { (*this) = variant.to(); return; } + if (index.isMyself()) { (*this) = variant.to(); return; } if (ITimestampBased::canHandleIndex(index)) { ITimestampBased::setPropertyByIndex(variant, index); diff --git a/src/blackcore/data/download.h b/src/blackcore/data/updateinfo.h similarity index 85% rename from src/blackcore/data/download.h rename to src/blackcore/data/updateinfo.h index eef1e479d..9a64bde2c 100644 --- a/src/blackcore/data/download.h +++ b/src/blackcore/data/updateinfo.h @@ -9,8 +9,8 @@ //! \file -#ifndef BLACKCORE_DATA_DOWNLOAD_H -#define BLACKCORE_DATA_DOWNLOAD_H +#ifndef BLACKCORE_DATA_UPDATEINFO_H +#define BLACKCORE_DATA_UPDATEINFO_H #include "blackcore/blackcoreexport.h" #include "blackcore/datacache.h" @@ -23,15 +23,15 @@ namespace BlackCore namespace Data { //! Download locations and versions - class BLACKCORE_EXPORT CDownload : - public BlackMisc::CValueObject, + class BLACKCORE_EXPORT CUpdateInfo : + public BlackMisc::CValueObject, public BlackMisc::ITimestampBased { public: //! Properties by index enum ColumnIndex { - IndexDownloadUrlsStable = BlackMisc::CPropertyIndex::GlobalIndexCDownload, + IndexDownloadUrlsStable = BlackMisc::CPropertyIndex::GlobalIndexCUpdateInfo, IndexDownloadUrlsBeta, IndexLatestVersionStable, IndexLastSupportedVersionStable, @@ -40,10 +40,10 @@ namespace BlackCore }; //! Default constructor - CDownload(); + CUpdateInfo(); //! Destructor. - ~CDownload() {} + ~CUpdateInfo() {} //! Download URLs, ie here one can download installer const BlackMisc::Network::CUrlList &getDownloadUrlsBeta() const { return m_downloadsBetaUrls; } @@ -73,7 +73,7 @@ namespace BlackCore bool isDevelopment() const { return m_development; } //! Same type - bool hasSameType(const CDownload &otherDownload) const; + bool hasSameType(const CUpdateInfo &otherDownload) const; //! Productive settings? void setDevelopment(bool development) { m_development = development; } @@ -91,7 +91,7 @@ namespace BlackCore void setPropertyByIndex(const BlackMisc::CVariant &variant, const BlackMisc::CPropertyIndex &index); private: - BLACK_ENABLE_TUPLE_CONVERSION(BlackCore::Data::CDownload) + BLACK_ENABLE_TUPLE_CONVERSION(BlackCore::Data::CUpdateInfo) bool m_development = false; //!< for development BlackMisc::Network::CUrlList m_downloadsStableUrls; //!< Download URLs, here I get the installer @@ -103,15 +103,15 @@ namespace BlackCore }; //! Trait for global setup data - struct Download : public BlackCore::CDataTrait + struct UpdateInfo : public BlackCore::CDataTrait { //! Key in data cache - static const char *key() { return "readers/global/download"; } + static const char *key() { return "readers/global/updateinfo"; } //! Default value - static const CDownload &defaultValue() + static const CUpdateInfo &defaultValue() { - static const CDownload defaultValue; + static const CUpdateInfo defaultValue; return defaultValue; } }; @@ -119,8 +119,8 @@ namespace BlackCore } // ns } // ns -Q_DECLARE_METATYPE(BlackCore::Data::CDownload) -BLACK_DECLARE_TUPLE_CONVERSION(BlackCore::Data::CDownload, ( +Q_DECLARE_METATYPE(BlackCore::Data::CUpdateInfo) +BLACK_DECLARE_TUPLE_CONVERSION(BlackCore::Data::CUpdateInfo, ( attr(o.m_timestampMSecsSinceEpoch), attr(o.m_development), attr(o.m_downloadsStableUrls), diff --git a/src/blackcore/setupreader.cpp b/src/blackcore/setupreader.cpp index c9fdc91fd..79adc2bdd 100644 --- a/src/blackcore/setupreader.cpp +++ b/src/blackcore/setupreader.cpp @@ -41,13 +41,13 @@ namespace BlackCore else { this->m_bootstrapUrls.uniqueWrite()->push_back(m_setup.get().bootstrapUrls()); - this->m_downloadUrls.uniqueWrite()->push_back(m_setup.get().downloadInfoUrls()); + this->m_updateInfoUrls.uniqueWrite()->push_back(m_setup.get().updateInfoUrls()); this->m_networkManagerBootstrap = new QNetworkAccessManager(this); this->connect(this->m_networkManagerBootstrap, &QNetworkAccessManager::finished, this, &CSetupReader::ps_parseSetupFile); - this->m_networkManagerDownload = new QNetworkAccessManager(this); - this->connect(this->m_networkManagerDownload, &QNetworkAccessManager::finished, this, &CSetupReader::ps_parseDownloadFile); + this->m_networkManagerUpdateInfo = new QNetworkAccessManager(this); + this->connect(this->m_networkManagerUpdateInfo, &QNetworkAccessManager::finished, this, &CSetupReader::ps_parseUpdateInfoFile); this->start(QThread::LowPriority); } @@ -82,19 +82,19 @@ namespace BlackCore this->m_networkManagerBootstrap->get(request); } - void CSetupReader::ps_readDownload() + void CSetupReader::ps_readUpdateInfo() { this->threadAssertCheck(); - Q_ASSERT_X(this->m_networkManagerDownload, Q_FUNC_INFO, "Missing network manager"); - CUrl url(this->m_downloadUrls.uniqueWrite()->getNextWorkingUrl()); + Q_ASSERT_X(this->m_networkManagerUpdateInfo, Q_FUNC_INFO, "Missing network manager"); + CUrl url(this->m_updateInfoUrls.uniqueWrite()->getNextWorkingUrl()); if (url.isEmpty()) { - CLogMessage(this).warning("Cannot read download (info), failed URLs: %1") << this->m_downloadUrls.read()->getFailedUrls(); + CLogMessage(this).warning("Cannot read update info, failed URLs: %1") << this->m_updateInfoUrls.read()->getFailedUrls(); return; } QNetworkRequest request(url); CNetworkUtils::ignoreSslVerification(request); - this->m_networkManagerDownload->get(request); + this->m_networkManagerUpdateInfo->get(request); } void CSetupReader::ps_setupSyncronized(bool success) @@ -102,8 +102,8 @@ namespace BlackCore // trigger if (success) { - CLogMessage(this).info("Setup synchronized, will trigger read of download information"); - QTimer::singleShot(500, this, &CSetupReader::ps_readDownload); + CLogMessage(this).info("Setup synchronized, will trigger read of update information"); + QTimer::singleShot(500, this, &CSetupReader::ps_readUpdateInfo); } else { @@ -222,7 +222,7 @@ namespace BlackCore } } - void CSetupReader::ps_parseDownloadFile(QNetworkReply *nwReplyPtr) + void CSetupReader::ps_parseUpdateInfoFile(QNetworkReply *nwReplyPtr) { // wrap pointer, make sure any exit cleans up reply // required to use delete later as object is created in a different thread @@ -235,7 +235,7 @@ namespace BlackCore if (this->isFinishedOrShutdown()) { CLogMessage(this).debug() << Q_FUNC_INFO; - CLogMessage(this).info("Terminated loading download info"); + CLogMessage(this).info("Terminated loading of update info"); nwReply->abort(); return; // stop, terminate straight away, ending thread } @@ -247,35 +247,35 @@ namespace BlackCore nwReplyPtr->close(); if (setupJson.isEmpty()) { - CLogMessage(this).info("No download (info) file"); + CLogMessage(this).info("No update info file"); // try next URL } else { - CDownload currentDownload(m_download.get()); // from cache - CDownload loadedDownload; - loadedDownload.convertFromJson(Json::jsonObjectFromString(setupJson)); - loadedDownload.setDevelopment(isForDevelopment()); // always update, regardless what persistent setting says - if (loadedDownload.getMSecsSinceEpoch() == 0 && lastModified > 0) { loadedDownload.setMSecsSinceEpoch(lastModified); } - qint64 currentVersionTimestamp = currentDownload.getMSecsSinceEpoch(); - qint64 newVersionTimestamp = loadedDownload.getMSecsSinceEpoch(); - bool sameVersionLoaded = (loadedDownload == currentDownload); + CUpdateInfo currentUpdateInfo(m_updateInfo.get()); // from cache + CUpdateInfo loadedUpdateInfo; + loadedUpdateInfo.convertFromJson(Json::jsonObjectFromString(setupJson)); + loadedUpdateInfo.setDevelopment(isForDevelopment()); // always update, regardless what persistent setting says + if (loadedUpdateInfo.getMSecsSinceEpoch() == 0 && lastModified > 0) { loadedUpdateInfo.setMSecsSinceEpoch(lastModified); } + qint64 currentVersionTimestamp = currentUpdateInfo.getMSecsSinceEpoch(); + qint64 newVersionTimestamp = loadedUpdateInfo.getMSecsSinceEpoch(); + bool sameVersionLoaded = (loadedUpdateInfo == currentUpdateInfo); if (sameVersionLoaded) { - CLogMessage(this).info("Same download info loaded from %1 as already in data cache %2") << urlString << m_download.getFilename(); + CLogMessage(this).info("Same update info loaded from %1 as already in data cache %2") << urlString << m_updateInfo.getFilename(); return; // success } - bool sameType = loadedDownload.hasSameType(currentDownload); + bool sameType = loadedUpdateInfo.hasSameType(currentUpdateInfo); bool outdatedVersionLoaded = sameType && (newVersionTimestamp < currentVersionTimestamp); if (outdatedVersionLoaded) { - CLogMessage(this).info("Download loaded from %1 outdated, older than version in data cache %2") << urlString << m_download.getFilename(); + CLogMessage(this).info("Update info loaded from %1 outdated, older than version in data cache %2") << urlString << m_updateInfo.getFilename(); // try next URL } else { - CStatusMessage m = m_download.set(loadedDownload); + CStatusMessage m = m_updateInfo.set(loadedUpdateInfo); if (!m.isEmpty()) { CLogMessage(this).preformatted(m); @@ -283,7 +283,7 @@ namespace BlackCore } else { - CLogMessage(this).info("Download info: Updated data cache in %1") << m_download.getFilename(); + CLogMessage(this).info("Update info: Updated data cache in %1") << m_updateInfo.getFilename(); return; // success } // cache } // outdated? @@ -293,12 +293,12 @@ namespace BlackCore else { // network error - CLogMessage(this).warning("Reading download info failed %1 %2") << replyMessage << urlString; + CLogMessage(this).warning("Reading update info failed %1 %2") << replyMessage << urlString; nwReply->abort(); } // try next one if any - if (this->m_downloadUrls.uniqueWrite()->addFailedUrl(url)) + if (this->m_updateInfoUrls.uniqueWrite()->addFailedUrl(url)) { QTimer::singleShot(500, this, &CSetupReader::ps_readSetup); } diff --git a/src/blackcore/setupreader.h b/src/blackcore/setupreader.h index fed5d3ee5..2fc329218 100644 --- a/src/blackcore/setupreader.h +++ b/src/blackcore/setupreader.h @@ -16,7 +16,7 @@ #include "blackmisc/threadedreader.h" #include "blackmisc/lockfree.h" #include "blackcore/data/globalsetup.h" -#include "blackcore/data/download.h" +#include "blackcore/data/updateinfo.h" #include #include @@ -46,26 +46,26 @@ namespace BlackCore //! \threadsafe void ps_parseSetupFile(QNetworkReply *nwReply); - //! Download has been read + //! Update info has been read //! \threadsafe - void ps_parseDownloadFile(QNetworkReply *nwReplyPtr); + void ps_parseUpdateInfoFile(QNetworkReply *nwReplyPtr); //! Do reading void ps_readSetup(); //! Do reading - void ps_readDownload(); + void ps_readUpdateInfo(); //! Setup has beem syncronized void ps_setupSyncronized(bool success); private: QNetworkAccessManager *m_networkManagerBootstrap = nullptr; - QNetworkAccessManager *m_networkManagerDownload = nullptr; + QNetworkAccessManager *m_networkManagerUpdateInfo = nullptr; BlackMisc::LockFree m_bootstrapUrls; - BlackMisc::LockFree m_downloadUrls; - CData m_setup {this}; //!< data cache setup - CData m_download {this}; //!< data cache downloads + BlackMisc::LockFree m_updateInfoUrls; + CData m_setup {this}; //!< data cache setup + CData m_updateInfo {this}; //!< data cache update info //! Constructor explicit CSetupReader(QObject *owner); diff --git a/src/blackmisc/propertyindex.h b/src/blackmisc/propertyindex.h index 0b1a989eb..c8b5bf402 100644 --- a/src/blackmisc/propertyindex.h +++ b/src/blackmisc/propertyindex.h @@ -89,7 +89,7 @@ namespace BlackMisc GlobalIndexIDatastoreInteger = 11000, GlobalIndexIDatastoreString = 11100, GlobalIndexCGlobalSetup = 12000, - GlobalIndexCDownload = 12100, + GlobalIndexCUpdateInfo = 12100, GlobalIndexAbuseMode = 20000 // property index abused as map key or otherwise, to be removed if no longer needed }; diff --git a/src/swiftdata/swiftdata.h b/src/swiftdata/swiftdata.h index 934e51d84..39210882a 100644 --- a/src/swiftdata/swiftdata.h +++ b/src/swiftdata/swiftdata.h @@ -14,7 +14,7 @@ #include "blackcore/context_runtime.h" #include "blackcore/data/globalsetup.h" -#include "blackcore/data/download.h" +#include "blackcore/data/updateinfo.h" #include "blackcore/setupreader.h" #include "blackgui/systemtraywindow.h" #include "blackgui/managedstatusbar.h" @@ -74,7 +74,7 @@ private: BlackGui::CManagedStatusBar m_statusBar; BlackCore::CWebDataServices *m_webDataReader = nullptr; BlackCore::CData m_setup {this, &CSwiftData::ps_setupChanged}; //!< setup cache - BlackCore::CData m_download { this }; // download data + BlackCore::CData m_updateInfo { this }; //!< download / version data }; #endif // guard diff --git a/src/swiftdata/swiftdata_menus.cpp b/src/swiftdata/swiftdata_menus.cpp index 5d1b5a420..475b5237d 100644 --- a/src/swiftdata/swiftdata_menus.cpp +++ b/src/swiftdata/swiftdata_menus.cpp @@ -108,7 +108,7 @@ void CSwiftData::ps_onMenuClicked() } else if (sender == this->ui->menu_JsonDownloadTemplate) { - QString json(m_download.get().toJsonString()); + QString json(m_updateInfo.get().toJsonString()); this->ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(json); this->displayConsole(); } diff --git a/src/swiftlauncher/swiftlauncher.cpp b/src/swiftlauncher/swiftlauncher.cpp index b06544792..7b4c23661 100644 --- a/src/swiftlauncher/swiftlauncher.cpp +++ b/src/swiftlauncher/swiftlauncher.cpp @@ -11,7 +11,7 @@ #include "ui_swiftlauncher.h" #include "blackgui/stylesheetutility.h" #include "blackcore/dbus_server.h" -#include "blackcore/data/download.h" +#include "blackcore/data/updateinfo.h" #include "blackmisc/network/networkutils.h" #include "blackmisc/icons.h" #include "blackmisc/project.h" @@ -259,9 +259,9 @@ void CSwiftLauncher::ps_loadSetup() void CSwiftLauncher::ps_loadedSetup() { - CDownload download(this->m_download.get()); - QString latestVersion(download.getLatestVersion()) ; // need to get this from somewhere - CUrlList downloadUrls(download.getDownloadUrls()); + CUpdateInfo updateInfo(this->m_updateInfo.get()); + QString latestVersion(updateInfo.getLatestVersion()) ; // need to get this from somewhere + CUrlList downloadUrls(updateInfo.getDownloadUrls()); bool newVersionAvailable = CProject::isNewerVersion(latestVersion) && !downloadUrls.isEmpty(); this->ui->wi_NewVersionAvailable->setVisible(newVersionAvailable); this->ui->wi_NoNewVersion->setVisible(!newVersionAvailable); diff --git a/src/swiftlauncher/swiftlauncher.h b/src/swiftlauncher/swiftlauncher.h index a7000e3c3..c6bc25427 100644 --- a/src/swiftlauncher/swiftlauncher.h +++ b/src/swiftlauncher/swiftlauncher.h @@ -59,7 +59,7 @@ protected: private: QScopedPointer ui; BlackCore::CData m_setup { this, &CSwiftLauncher::ps_loadedSetup }; //!< setup cache - BlackCore::CData m_download { this, &CSwiftLauncher::ps_loadedSetup }; + BlackCore::CData m_updateInfo { this, &CSwiftLauncher::ps_loadedSetup }; QString m_executable; QStringList m_executableArgs;