From 8495296f4f187fc38e2dd3b03f6d7dfa761785ad Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Mon, 23 Sep 2013 10:42:16 +0200 Subject: qml: handle all possible QtMsgType in switch because of -Werror Perhaps this illustrates why having -Werror is more of an annoyance than whatever it was supposed to help: https://codereview.qt-project.org/#change,65253 cannot be merged until the new enum value that it adds is handled _everywhere_ that it can be. Change-Id: I2bba730b471683487e38693c9ace2d09be4c874d Reviewed-by: hjk --- tools/qml/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/qml/main.cpp') diff --git a/tools/qml/main.cpp b/tools/qml/main.cpp index c059373143..a1b3a6b856 100644 --- a/tools/qml/main.cpp +++ b/tools/qml/main.cpp @@ -193,6 +193,7 @@ void quietMessageHandler(QtMsgType type, const QMessageLogContext &ctxt, const Q case QtCriticalMsg: case QtDebugMsg: case QtWarningMsg: + default: ; } } -- cgit v1.2.3