mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 09:15:34 +08:00
Removed implicit logging
This commit is contained in:
@@ -163,7 +163,7 @@ void SwiftGuiStd::ps_loginRequested()
|
||||
bool SwiftGuiStd::isContextNetworkAvailableCheck()
|
||||
{
|
||||
if (this->m_contextNetworkAvailable) return true;
|
||||
this->ps_displayStatusMessageInGui(CLogMessage(this).error("Network context not available, no updates this time"));
|
||||
CLogMessage(this).error("Network context not available, no updates this time");
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -173,7 +173,7 @@ bool SwiftGuiStd::isContextNetworkAvailableCheck()
|
||||
bool SwiftGuiStd::isContextAudioAvailableCheck()
|
||||
{
|
||||
if (this->m_contextAudioAvailable) return true;
|
||||
this->ps_displayStatusMessageInGui(CLogMessage(this).error("Voice context not available"));
|
||||
CLogMessage(this).error("Audio context not available");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -194,13 +194,13 @@ void SwiftGuiStd::initialDataReads()
|
||||
this->m_coreAvailable = (this->getIContextNetwork()->isUsingImplementingObject() || (this->getIContextApplication()->ping(t) == t));
|
||||
if (!this->m_coreAvailable)
|
||||
{
|
||||
this->ps_displayStatusMessageInGui(CLogMessage(this).error("no initial data read as network context is not available"));
|
||||
CLogMessage(this).error("no initial data read as network context is not available");
|
||||
return;
|
||||
}
|
||||
|
||||
this->ui->comp_MainInfoArea->getSettingsComponent()->reloadSettings(); // init read
|
||||
this->ps_reloadOwnAircraft(); // init read, independent of traffic network
|
||||
this->ps_displayStatusMessageInGui(CLogMessage(this).info("initial data read"));
|
||||
CLogMessage(this).info("initial data read");
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user