refs #316 Blackgui changes: using CLogMessage and removed sendStatusMessage signals.

This commit is contained in:
Mathew Sutcliffe
2014-09-25 20:47:54 +01:00
parent 87086f7e37
commit f7e2523eaa
11 changed files with 79 additions and 129 deletions

View File

@@ -11,6 +11,7 @@
#include "atcstationcomponent.h"
#include "../views/atcstationview.h"
#include "ui_atcstationcomponent.h"
#include "blackmisc/logmessage.h"
//! \file
@@ -103,7 +104,7 @@ namespace BlackGui
if (sender == this->ui->tvp_AtcStationsBooked && this->getIContextNetwork())
{
// trigger new read, which takes some time. A signal will be received when this is done
this->sendStatusMessage(CStatusMessage::getInfoMessage("Requested new bookings", CStatusMessage::TypeTrafficNetwork));
CLogMessage().info(this, "Requested new bookings");
this->getIContextNetwork()->readAtcBookingsFromSource();
}
else