Commit b85be3ec authored by Kai Koehne's avatar Kai Koehne
Browse files

Add support for QtInfoMsg


Replace the generic default label by the new QtInfoMsg enum, which got
added to Qt5Core.

Change-Id: Ia56d24f29519d8f9c8f184d74b77292ecbb0bd4b
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
parent f7ac18b4
No related merge requests found
Showing with 2 additions and 2 deletions
......@@ -130,10 +130,10 @@ void ColoringMessageHandler::handleMessage(QtMsgType type,
case QtCriticalMsg:
/* Fallthrough. */
case QtDebugMsg:
default:
case QtInfoMsg:
{
Q_ASSERT_X(false, Q_FUNC_INFO,
"message() is not supposed to receive QtCriticalMsg or QtDebugMsg.");
"message() is not supposed to receive QtCriticalMsg, QtInfoMsg or QtDebugMsg.");
return;
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment