aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qml
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2013-09-23 10:42:16 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-25 10:33:37 +0200
commit8495296f4f187fc38e2dd3b03f6d7dfa761785ad (patch)
treed221de77a8b73cadb4983c3d5dc23c951dd38d29 /tools/qml
parent0635fd8f2bda7b4af87d4a18b20ad569dea71b53 (diff)
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 <hjk121@nokiamail.com>
Diffstat (limited to 'tools/qml')
-rw-r--r--tools/qml/main.cpp1
1 files changed, 1 insertions, 0 deletions
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:
;
}
}