Fix building with Qt < 5.5.

This commit is contained in:
Mateusz Skowroński 2016-12-26 21:08:08 +01:00
parent 86b3463ee1
commit 419a5886a7

View File

@ -1392,7 +1392,9 @@ void messageHandler(QtMsgType type, const QMessageLogContext &context, const QSt
#ifdef FC_DEBUG
switch (type)
{
#if QT_VERSION >= 0x050500
case QtInfoMsg:
#endif
case QtDebugMsg:
Base::Console().Message("%s\n", msg);
break;