refs #336 Using the new CLogMessage syntax to log messages.

This commit is contained in:
Mathew Sutcliffe
2014-10-14 00:09:18 +01:00
parent 067344df24
commit a294e8db0f
33 changed files with 200 additions and 192 deletions

View File

@@ -236,13 +236,13 @@ void MainWindow::initialDataReads()
this->m_coreAvailable = (this->getIContextNetwork()->isUsingImplementingObject() || (this->getIContextApplication()->ping(t) == t));
if (!this->m_coreAvailable)
{
this->ps_displayStatusMessageInGui(CLogMessage().error(this, "no initial data read as network context is not available"));
this->ps_displayStatusMessageInGui(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().info(this, "initial data read"));
this->ps_displayStatusMessageInGui(CLogMessage(this).info("initial data read"));
}
/*