summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qchar
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2016-11-25 09:50:13 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2016-11-29 16:20:01 +0000
commit6aa2d49d5f98d8e23a32555a45c58dc4c7c4bb69 (patch)
tree276360b949dc03486fbc0848da1d35427c335ec1 /tests/auto/corelib/tools/qchar
parentc1093e2d2adc0963a6853b84dc8c34c3333c6f6e (diff)
tst_qchar: Silence deprecation warning
Change-Id: I248d815862a4172ceae6ba45391cba0a30b8e1ae Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'tests/auto/corelib/tools/qchar')
-rw-r--r--tests/auto/corelib/tools/qchar/tst_qchar.cpp5
1 files changed, 5 insertions, 0 deletions
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<QChar>("lhs");