mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
refs #316 Changed blackmisc and blacksim to use CLogMessage to emit messages.
Also changed functions which always returned CStatusMessageList containing a single CStatusMessage, to return CStatusMessage instead for simplicity.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "simulator_xplane.h"
|
||||
#include "xbus_service_proxy.h"
|
||||
#include "xbus_traffic_proxy.h"
|
||||
#include "blackmisc/logmessage.h"
|
||||
#include <QDBusServiceWatcher>
|
||||
#include <QTimer>
|
||||
|
||||
@@ -254,7 +255,7 @@ namespace BlackSimPlugin
|
||||
{
|
||||
if (enable)
|
||||
{
|
||||
emit displayStatusMessage(CStatusMessage::getWarningMessage("X-Plane already provides real time synchronization", CStatusMessage::TypeSimulator));
|
||||
CLogMessage().warning(this, "X-Plane already provides real time synchronization");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user