From 6aa2d49d5f98d8e23a32555a45c58dc4c7c4bb69 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 25 Nov 2016 09:50:13 +0100 Subject: tst_qchar: Silence deprecation warning Change-Id: I248d815862a4172ceae6ba45391cba0a30b8e1ae Reviewed-by: Marc Mutz --- tests/auto/corelib/tools/qchar/tst_qchar.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/auto/corelib/tools/qchar/tst_qchar.cpp') diff --git a/tests/auto/corelib/tools/qchar/tst_qchar.cpp b/tests/auto/corelib/tools/qchar/tst_qchar.cpp index 92585fd471..fb436b67d6 100644 --- a/tests/auto/corelib/tools/qchar/tst_qchar.cpp +++ b/tests/auto/corelib/tools/qchar/tst_qchar.cpp @@ -72,6 +72,9 @@ private slots: void unicodeVersion(); }; +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED + void tst_QChar::operator_eqeq_int() { { @@ -96,6 +99,8 @@ void tst_QChar::operator_eqeq_int() } } +QT_WARNING_POP + void tst_QChar::operators_data() { QTest::addColumn("lhs"); -- cgit v1.2.3