mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 07:15:34 +08:00
refs #800 QtInfoMsg severity was added in Qt 5.5, we can remove the category suffix workaround.
This commit is contained in:
committed by
Klaus Basan
parent
af066be740
commit
95a82f37a0
@@ -47,6 +47,10 @@ class QXPlaneMessageHandler
|
||||
std::sprintf(buffer, "%s:%d: Debug: %s\n", file.constData(), line, localMsg.constData());
|
||||
XPLMDebugString(buffer);
|
||||
break;
|
||||
case QtInfoMsg:
|
||||
std::sprintf(buffer, "%s:%d: Info: %s\n", file.constData(), line, localMsg.constData());
|
||||
XPLMDebugString(buffer);
|
||||
break;
|
||||
case QtWarningMsg:
|
||||
std::sprintf(buffer, "%s:%d: Warning: %s\n", file.constData(), line, localMsg.constData());
|
||||
XPLMDebugString(buffer);
|
||||
|
||||
Reference in New Issue
Block a user