diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2013-09-23 10:42:16 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-25 10:33:37 +0200 |
commit | 8495296f4f187fc38e2dd3b03f6d7dfa761785ad (patch) | |
tree | d221de77a8b73cadb4983c3d5dc23c951dd38d29 /tools/qml/main.cpp | |
parent | 0635fd8f2bda7b4af87d4a18b20ad569dea71b53 (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/main.cpp')
-rw-r--r-- | tools/qml/main.cpp | 1 |
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: ; } } |