mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Add getter for server file to CApplication
This commit is contained in:
@@ -1737,6 +1737,13 @@ namespace BlackCore
|
||||
return CUrlList();
|
||||
}
|
||||
|
||||
CUrl CApplication::getVatsimServerFileUrl() const
|
||||
{
|
||||
if (m_shutdown || !m_setupReader) { return {}; }
|
||||
|
||||
return m_setupReader->getSetup().getVatsimServerFileUrl();
|
||||
}
|
||||
|
||||
void CApplication::onCrashDumpUploadEnabledChanged()
|
||||
{
|
||||
const bool enabled = CBuildConfig::isReleaseBuild() && m_crashDumpSettings.getThreadLocal().isEnabled();
|
||||
|
||||
Reference in New Issue
Block a user