Merge pull request #399 from f3nix/qt5-fixes-2

Fix building with Qt < 5.5.
This commit is contained in:
wwmayer 2016-12-26 21:49:31 +01:00 committed by GitHub
commit bf94b19116

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;