Fix building with Qt < 5.5.

This commit is contained in:
Mateusz Skowroński
2016-12-26 21:08:08 +01:00
parent 49c8d65bfe
commit dd4c6a4320

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;