mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-01 22:55:41 +08:00
refactor: Remove unused crash report URL from bootstrap
This URL is hardcoded in crashhandler.cpp
This commit is contained in:
@@ -1,7 +1,4 @@
|
|||||||
{
|
{
|
||||||
"crashReportServerUrl": {
|
|
||||||
"url": "http://swift-project.sp.backtrace.io:6097/"
|
|
||||||
},
|
|
||||||
"dbDebugFlag": false,
|
"dbDebugFlag": false,
|
||||||
"dbHttpPort": 80,
|
"dbHttpPort": 80,
|
||||||
"dbHttpsPort": 443,
|
"dbHttpsPort": 443,
|
||||||
|
|||||||
@@ -163,9 +163,7 @@ namespace BlackCore::Data
|
|||||||
|
|
||||||
% u"AFV voice server URL: " % getAfvApiServerUrl().toQString(i18n) % separator
|
% u"AFV voice server URL: " % getAfvApiServerUrl().toQString(i18n) % separator
|
||||||
|
|
||||||
% u"AFV map URL: " % getAfvMapUrl().toQString(i18n) % separator
|
% u"AFV map URL: " % getAfvMapUrl().toQString(i18n);
|
||||||
|
|
||||||
% u"Crash report server: " % getCrashReportServerUrl().toQString(i18n);
|
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
@@ -185,10 +183,9 @@ namespace BlackCore::Data
|
|||||||
case IndexVatsimData: return QVariant::fromValue(m_vatsimDataFileUrls);
|
case IndexVatsimData: return QVariant::fromValue(m_vatsimDataFileUrls);
|
||||||
case IndexVatsimServer: return QVariant::fromValue(m_vatsimServerFileUrl);
|
case IndexVatsimServer: return QVariant::fromValue(m_vatsimServerFileUrl);
|
||||||
case IndexVatsimHttpFsd: return QVariant::fromValue(m_vatsimFsdHttpUrl);
|
case IndexVatsimHttpFsd: return QVariant::fromValue(m_vatsimFsdHttpUrl);
|
||||||
case IndexVatsimMetars: return QVariant::fromValue(m_vatsimMetarsUrls);
|
case IndexVatsimMetars: return QVariant::fromValue(m_vatsimMetarsUrl);
|
||||||
case IndexSharedUrls: return QVariant::fromValue(m_sharedUrls);
|
case IndexSharedUrl: return QVariant::fromValue(m_sharedUrl);
|
||||||
case IndexOnlineHelpUrls: return QVariant::fromValue(m_onlineHelpUrls);
|
case IndexOnlineHelpUrl: return QVariant::fromValue(m_onlineHelpUrl);
|
||||||
case IndexCrashReportServerUrl: return QVariant::fromValue(m_crashReportServerUrl);
|
|
||||||
case IndexMappingMinimumVersion: return QVariant::fromValue(m_mappingMinimumVersion);
|
case IndexMappingMinimumVersion: return QVariant::fromValue(m_mappingMinimumVersion);
|
||||||
case IndexPredefinedServers: return QVariant::fromValue(m_predefinedServers);
|
case IndexPredefinedServers: return QVariant::fromValue(m_predefinedServers);
|
||||||
case IndexAfvApiServerUrl: return QVariant::fromValue(m_afvApiServerUrl);
|
case IndexAfvApiServerUrl: return QVariant::fromValue(m_afvApiServerUrl);
|
||||||
@@ -218,7 +215,6 @@ namespace BlackCore::Data
|
|||||||
case IndexVatsimMetars: m_vatsimMetarsUrls = variant.value<CUrlList>(); break;
|
case IndexVatsimMetars: m_vatsimMetarsUrls = variant.value<CUrlList>(); break;
|
||||||
case IndexSharedUrls: m_sharedUrls = variant.value<CUrlList>(); break;
|
case IndexSharedUrls: m_sharedUrls = variant.value<CUrlList>(); break;
|
||||||
case IndexOnlineHelpUrls: m_onlineHelpUrls = 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 IndexMappingMinimumVersion: m_mappingMinimumVersion = variant.toString(); break;
|
||||||
case IndexPredefinedServers: m_predefinedServers = variant.value<CServerList>(); break;
|
case IndexPredefinedServers: m_predefinedServers = variant.value<CServerList>(); break;
|
||||||
case IndexAfvApiServerUrl: m_afvApiServerUrl = variant.value<CUrl>(); break;
|
case IndexAfvApiServerUrl: m_afvApiServerUrl = variant.value<CUrl>(); break;
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ namespace BlackCore::Data
|
|||||||
IndexVatsimServer,
|
IndexVatsimServer,
|
||||||
IndexVatsimHttpFsd,
|
IndexVatsimHttpFsd,
|
||||||
IndexOnlineHelpUrls,
|
IndexOnlineHelpUrls,
|
||||||
IndexCrashReportServerUrl,
|
|
||||||
IndexSharedUrls,
|
IndexSharedUrls,
|
||||||
IndexMappingMinimumVersion,
|
IndexMappingMinimumVersion,
|
||||||
IndexPredefinedServers,
|
IndexPredefinedServers,
|
||||||
@@ -67,10 +66,6 @@ namespace BlackCore::Data
|
|||||||
//! Set debug flag
|
//! Set debug flag
|
||||||
void setServerDebugFlag(bool debug);
|
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
|
//! Root directory of DB
|
||||||
const BlackMisc::Network::CUrl &getDbRootDirectoryUrl() const { return m_dbRootDirectoryUrl; }
|
const BlackMisc::Network::CUrl &getDbRootDirectoryUrl() const { return m_dbRootDirectoryUrl; }
|
||||||
|
|
||||||
@@ -181,7 +176,6 @@ namespace BlackCore::Data
|
|||||||
int m_dbHttpPort = 80; //!< port
|
int m_dbHttpPort = 80; //!< port
|
||||||
int m_dbHttpsPort = 443; //!< SSL port
|
int m_dbHttpsPort = 443; //!< SSL port
|
||||||
QString m_mappingMinimumVersion; //!< minimum version
|
QString m_mappingMinimumVersion; //!< minimum version
|
||||||
BlackMisc::Network::CUrl m_crashReportServerUrl; //!< crash report server
|
|
||||||
BlackMisc::Network::CUrl m_dbRootDirectoryUrl; //!< Root directory of DB
|
BlackMisc::Network::CUrl m_dbRootDirectoryUrl; //!< Root directory of DB
|
||||||
BlackMisc::Network::CUrlList m_vatsimMetarsUrls; //!< METAR data
|
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)
|
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(
|
BLACK_METACLASS(
|
||||||
CGlobalSetup,
|
CGlobalSetup,
|
||||||
BLACK_METAMEMBER(crashReportServerUrl, 0, RequiredForJson),
|
|
||||||
BLACK_METAMEMBER(dbRootDirectoryUrl, 0, RequiredForJson),
|
BLACK_METAMEMBER(dbRootDirectoryUrl, 0, RequiredForJson),
|
||||||
BLACK_METAMEMBER(dbHttpPort, 0, RequiredForJson),
|
BLACK_METAMEMBER(dbHttpPort, 0, RequiredForJson),
|
||||||
BLACK_METAMEMBER(dbHttpsPort, 0, RequiredForJson),
|
BLACK_METAMEMBER(dbHttpsPort, 0, RequiredForJson),
|
||||||
|
|||||||
Reference in New Issue
Block a user