Removed implicit logging

This commit is contained in:
Klaus Basan
2015-01-24 00:55:55 +01:00
parent 9f9f3bc3aa
commit 4fa8639735
4 changed files with 18 additions and 12 deletions

View File

@@ -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;
}

View File

@@ -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");
}
/*