From 2b8863a98c912806fd4e47bd2f2a6d81ec1d71b9 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 29 Apr 2020 18:00:13 +0200 Subject: Get rid of some QTextCodec leftovers There's no real dependency to QTextCodec in those files anymore. Change-Id: Ifaf19ab554fd108fa26095db4e2bd4a3e9ea427f Reviewed-by: Thiago Macieira --- tests/auto/corelib/io/qtemporarydir/tst_qtemporarydir.cpp | 1 - tests/auto/corelib/io/qtemporaryfile/tst_qtemporaryfile.cpp | 1 - tests/auto/corelib/io/qurl/tst_qurl.cpp | 1 - tests/auto/corelib/text/qlocale/tst_qlocale.cpp | 1 - tests/auto/corelib/text/qstring/tst_qstring.cpp | 2 -- 5 files changed, 6 deletions(-) (limited to 'tests') diff --git a/tests/auto/corelib/io/qtemporarydir/tst_qtemporarydir.cpp b/tests/auto/corelib/io/qtemporarydir/tst_qtemporarydir.cpp index 6dbb8ddd0d..b4fa0b41fe 100644 --- a/tests/auto/corelib/io/qtemporarydir/tst_qtemporarydir.cpp +++ b/tests/auto/corelib/io/qtemporarydir/tst_qtemporarydir.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include #ifdef Q_OS_WIN # include diff --git a/tests/auto/corelib/io/qtemporaryfile/tst_qtemporaryfile.cpp b/tests/auto/corelib/io/qtemporaryfile/tst_qtemporaryfile.cpp index cdf79760f6..bfa9f1d744 100644 --- a/tests/auto/corelib/io/qtemporaryfile/tst_qtemporaryfile.cpp +++ b/tests/auto/corelib/io/qtemporaryfile/tst_qtemporaryfile.cpp @@ -36,7 +36,6 @@ #include #include #include -#include #include diff --git a/tests/auto/corelib/io/qurl/tst_qurl.cpp b/tests/auto/corelib/io/qurl/tst_qurl.cpp index 31d1de4234..5a04d194a5 100644 --- a/tests/auto/corelib/io/qurl/tst_qurl.cpp +++ b/tests/auto/corelib/io/qurl/tst_qurl.cpp @@ -36,7 +36,6 @@ #include #include -#include #include Q_DECLARE_METATYPE(QUrl::FormattingOptions) diff --git a/tests/auto/corelib/text/qlocale/tst_qlocale.cpp b/tests/auto/corelib/text/qlocale/tst_qlocale.cpp index 29fa3cc075..b9e14663ed 100644 --- a/tests/auto/corelib/text/qlocale/tst_qlocale.cpp +++ b/tests/auto/corelib/text/qlocale/tst_qlocale.cpp @@ -33,7 +33,6 @@ #include #include #include -#include #include #if QT_CONFIG(process) # include diff --git a/tests/auto/corelib/text/qstring/tst_qstring.cpp b/tests/auto/corelib/text/qstring/tst_qstring.cpp index 4fcbc0b87e..321a4fcefb 100644 --- a/tests/auto/corelib/text/qstring/tst_qstring.cpp +++ b/tests/auto/corelib/text/qstring/tst_qstring.cpp @@ -41,7 +41,6 @@ #include #include #include -#include #include #include #include @@ -4184,7 +4183,6 @@ void tst_QString::stringRef_utf8() QCOMPARE( utf8, QByteArray(ref.toUtf8()) ); } -// copied to tst_QTextCodec::utf8Codec_data() void tst_QString::fromUtf8_data() { QTest::addColumn("utf8"); -- cgit v1.2.3