summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xmlpatterns/api/qcoloringmessagehandler.cpp3
-rw-r--r--src/xmlpatterns/api/qcoloroutput_p.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xmlpatterns/api/qcoloringmessagehandler.cpp b/src/xmlpatterns/api/qcoloringmessagehandler.cpp
index 942d9df..86d2345 100644
--- a/src/xmlpatterns/api/qcoloringmessagehandler.cpp
+++ b/src/xmlpatterns/api/qcoloringmessagehandler.cpp
@@ -130,9 +130,10 @@ void ColoringMessageHandler::handleMessage(QtMsgType type,
case QtCriticalMsg:
/* Fallthrough. */
case QtDebugMsg:
+ 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;
}
}
diff --git a/src/xmlpatterns/api/qcoloroutput_p.h b/src/xmlpatterns/api/qcoloroutput_p.h
index 0278d61..9f193b1 100644
--- a/src/xmlpatterns/api/qcoloroutput_p.h
+++ b/src/xmlpatterns/api/qcoloroutput_p.h
@@ -60,7 +60,6 @@ namespace QPatternist
ForegroundShift = 10,
BackgroundShift = 20,
SpecialShift = 20,
-// ### FIXME: this looks very suspicious. Make ForegroundShift = 0x10 etc?
ForegroundMask = 0x1f << ForegroundShift,
BackgroundMask = 0x7 << BackgroundShift
};