mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Always use cyan color for X-Plane messages
This commit is contained in:
committed by
Klaus Basan
parent
be82b95605
commit
d4e4cc2dad
@@ -313,14 +313,14 @@ namespace BlackSimPlugin
|
||||
if (isInFunction) { return; }
|
||||
isInFunction = true;
|
||||
|
||||
QColor color;
|
||||
switch (message.getSeverity())
|
||||
QColor color = "cyan";
|
||||
/* switch (message.getSeverity())
|
||||
{
|
||||
case CStatusMessage::SeverityDebug: color = "teal"; break;
|
||||
case CStatusMessage::SeverityInfo: color = "cyan"; break;
|
||||
case CStatusMessage::SeverityWarning: color = "orange"; break;
|
||||
case CStatusMessage::SeverityError: color = "red"; break;
|
||||
}
|
||||
} */
|
||||
|
||||
m_serviceProxy->addTextMessage("swift: " + message.getMessage(), color.redF(), color.greenF(), color.blueF());
|
||||
isInFunction = false;
|
||||
|
||||
Reference in New Issue
Block a user