diff options
author | Kai Koehne <kai.koehne@digia.com> | 2013-11-04 16:24:36 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-05 11:15:24 +0100 |
commit | c570428816e3719ba2f5efa5d2c8c88170a085b3 (patch) | |
tree | f83abf5c9b8e1876ec767d6f054492b59bad964a /tests | |
parent | 5f2a2e71eea5daa9ec67db1ca6904762f8bf2b49 (diff) | |
download | qtxmlpatterns-c570428816e3719ba2f5efa5d2c8c88170a085b3.tar.gz |
Revert "Handle new QtTraceMsg type, fix warnings about unhandled enumeration value."
This reverts commit bf49d9f0d41c3be802dbdd2c23dfe7c5fd86f4b0.
QtTraceMsg was removed from QtCore for the moment, too.
Change-Id: I1d6aaacf5e363f81272da4fbb0a4ff12337dd677
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/xmlpatternssdk/ErrorHandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/xmlpatternssdk/ErrorHandler.cpp b/tests/auto/xmlpatternssdk/ErrorHandler.cpp index 5b21d83..74a6a6d 100644 --- a/tests/auto/xmlpatternssdk/ErrorHandler.cpp +++ b/tests/auto/xmlpatternssdk/ErrorHandler.cpp @@ -88,7 +88,8 @@ void qMessageHandler(QtMsgType type, const QMessageLogContext &, const QString & return; } case QtDebugMsg: /* This enum is handled above in the if-clause. */ - case QtTraceMsg: + /* Fallthrough. */ + default: { Q_ASSERT(false); return; |