refs #800 QtInfoMsg severity was added in Qt 5.5, we can remove the category suffix workaround.

This commit is contained in:
Mathew Sutcliffe
2016-11-10 00:50:45 +00:00
committed by Klaus Basan
parent af066be740
commit 95a82f37a0
4 changed files with 16 additions and 75 deletions

View File

@@ -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);