diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2022-06-08 14:11:49 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2022-06-08 19:08:49 +0200 |
commit | 4d2ef8208955846b6fca178648840b93e8fe09e1 (patch) | |
tree | 0acf1ad6e99988a964ee471c276596eb99d3203c /src/testlib | |
parent | 4a2c31103c7c993c87f88087811e02804adfabf3 (diff) |
QTest: Remove pre-Qt6 code
It's disabled now, so can be deleted
Pick-to: 6.4 6.3 6.2
Change-Id: I0d548327e7ef42bbca9ed88556bf9f8456038cc7
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/testlib')
-rw-r--r-- | src/testlib/qtestcase.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp index c702ab125b..2d329477c8 100644 --- a/src/testlib/qtestcase.cpp +++ b/src/testlib/qtestcase.cpp @@ -1609,16 +1609,6 @@ char *toPrettyCString(const char *p, int length) return buffer.release(); } -#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) -// this used to be the signature up to and including Qt 5.9 -// keep it for BC reasons: -Q_TESTLIB_EXPORT -char *toPrettyUnicode(const ushort *p, int length) -{ - return toPrettyUnicode(QStringView(p, length)); -} -#endif - /*! \internal Returns the same QString but with only the ASCII characters still shown; |