mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #336 Using the new CLogMessage syntax to log messages.
This commit is contained in:
@@ -41,7 +41,7 @@ void MainWindow::ps_onMenuClicked()
|
||||
else if (sender == this->ui->menu_ReloadSettings)
|
||||
{
|
||||
this->ui->comp_MainInfoArea->getSettingsComponent()->reloadSettings();
|
||||
this->ps_displayStatusMessageInGui(CLogMessage().info(this, "Settings reloaded"));
|
||||
this->ps_displayStatusMessageInGui(CLogMessage(this).info("Settings reloaded"));
|
||||
}
|
||||
else if (sender == this->ui->menu_FileReloadStyleSheets)
|
||||
{
|
||||
@@ -54,7 +54,7 @@ void MainWindow::ps_onMenuClicked()
|
||||
}
|
||||
else if (sender == this->ui->menu_FileClose)
|
||||
{
|
||||
this->ps_displayStatusMessageInGui(CLogMessage().info(this, "Closing"));
|
||||
this->ps_displayStatusMessageInGui(CLogMessage(this).info("Closing"));
|
||||
this->close();
|
||||
}
|
||||
else if (sender == this->ui->menu_FileSettingsDirectory)
|
||||
|
||||
Reference in New Issue
Block a user