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>
This commit is contained in:
parent
4a2c31103c
commit
4d2ef82089
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user