mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 03:35:35 +08:00
refactor: Remove unused crash report URL from bootstrap
This URL is hardcoded in crashhandler.cpp
This commit is contained in:
@@ -163,9 +163,7 @@ namespace BlackCore::Data
|
||||
|
||||
% u"AFV voice server URL: " % getAfvApiServerUrl().toQString(i18n) % separator
|
||||
|
||||
% u"AFV map URL: " % getAfvMapUrl().toQString(i18n) % separator
|
||||
|
||||
% u"Crash report server: " % getCrashReportServerUrl().toQString(i18n);
|
||||
% u"AFV map URL: " % getAfvMapUrl().toQString(i18n);
|
||||
|
||||
return s;
|
||||
}
|
||||
@@ -185,10 +183,9 @@ namespace BlackCore::Data
|
||||
case IndexVatsimData: return QVariant::fromValue(m_vatsimDataFileUrls);
|
||||
case IndexVatsimServer: return QVariant::fromValue(m_vatsimServerFileUrl);
|
||||
case IndexVatsimHttpFsd: return QVariant::fromValue(m_vatsimFsdHttpUrl);
|
||||
case IndexVatsimMetars: return QVariant::fromValue(m_vatsimMetarsUrls);
|
||||
case IndexSharedUrls: return QVariant::fromValue(m_sharedUrls);
|
||||
case IndexOnlineHelpUrls: return QVariant::fromValue(m_onlineHelpUrls);
|
||||
case IndexCrashReportServerUrl: return QVariant::fromValue(m_crashReportServerUrl);
|
||||
case IndexVatsimMetars: return QVariant::fromValue(m_vatsimMetarsUrl);
|
||||
case IndexSharedUrl: return QVariant::fromValue(m_sharedUrl);
|
||||
case IndexOnlineHelpUrl: return QVariant::fromValue(m_onlineHelpUrl);
|
||||
case IndexMappingMinimumVersion: return QVariant::fromValue(m_mappingMinimumVersion);
|
||||
case IndexPredefinedServers: return QVariant::fromValue(m_predefinedServers);
|
||||
case IndexAfvApiServerUrl: return QVariant::fromValue(m_afvApiServerUrl);
|
||||
@@ -218,7 +215,6 @@ namespace BlackCore::Data
|
||||
case IndexVatsimMetars: m_vatsimMetarsUrls = variant.value<CUrlList>(); break;
|
||||
case IndexSharedUrls: m_sharedUrls = variant.value<CUrlList>(); break;
|
||||
case IndexOnlineHelpUrls: m_onlineHelpUrls = variant.value<CUrlList>(); break;
|
||||
case IndexCrashReportServerUrl: m_crashReportServerUrl = variant.value<CUrl>(); break;
|
||||
case IndexMappingMinimumVersion: m_mappingMinimumVersion = variant.toString(); break;
|
||||
case IndexPredefinedServers: m_predefinedServers = variant.value<CServerList>(); break;
|
||||
case IndexAfvApiServerUrl: m_afvApiServerUrl = variant.value<CUrl>(); break;
|
||||
|
||||
@@ -44,7 +44,6 @@ namespace BlackCore::Data
|
||||
IndexVatsimServer,
|
||||
IndexVatsimHttpFsd,
|
||||
IndexOnlineHelpUrls,
|
||||
IndexCrashReportServerUrl,
|
||||
IndexSharedUrls,
|
||||
IndexMappingMinimumVersion,
|
||||
IndexPredefinedServers,
|
||||
@@ -67,10 +66,6 @@ namespace BlackCore::Data
|
||||
//! Set debug flag
|
||||
void setServerDebugFlag(bool debug);
|
||||
|
||||
//! Crash report server url
|
||||
//! \deprecated NOT used anymore as by RR's info: https://discordapp.com/channels/539048679160676382/539925070550794240/586879411002015756
|
||||
BlackMisc::Network::CUrl getCrashReportServerUrl() const { return m_crashReportServerUrl; }
|
||||
|
||||
//! Root directory of DB
|
||||
const BlackMisc::Network::CUrl &getDbRootDirectoryUrl() const { return m_dbRootDirectoryUrl; }
|
||||
|
||||
@@ -181,7 +176,6 @@ namespace BlackCore::Data
|
||||
int m_dbHttpPort = 80; //!< port
|
||||
int m_dbHttpsPort = 443; //!< SSL port
|
||||
QString m_mappingMinimumVersion; //!< minimum version
|
||||
BlackMisc::Network::CUrl m_crashReportServerUrl; //!< crash report server
|
||||
BlackMisc::Network::CUrl m_dbRootDirectoryUrl; //!< Root directory of DB
|
||||
BlackMisc::Network::CUrlList m_vatsimMetarsUrls; //!< METAR data
|
||||
BlackMisc::Network::CUrlList m_vatsimStatusFileUrls; //!< Status file, where to find the VATSIM files (METAR, data, ATIS, other status files)
|
||||
@@ -201,7 +195,6 @@ namespace BlackCore::Data
|
||||
|
||||
BLACK_METACLASS(
|
||||
CGlobalSetup,
|
||||
BLACK_METAMEMBER(crashReportServerUrl, 0, RequiredForJson),
|
||||
BLACK_METAMEMBER(dbRootDirectoryUrl, 0, RequiredForJson),
|
||||
BLACK_METAMEMBER(dbHttpPort, 0, RequiredForJson),
|
||||
BLACK_METAMEMBER(dbHttpsPort, 0, RequiredForJson),
|
||||
|
||||
Reference in New Issue
Block a user