diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2020-06-17 22:53:53 +0200 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2020-06-25 09:54:16 +0200 |
commit | d7ccd8cb4565c8643b158891c9de3187c1586dc9 (patch) | |
tree | 5f3fbd8a91cf2c460891453497f8e4b8ac2f82ba /tests/auto/testlib | |
parent | 2df4991cb1a893522caac838d6c4edf5ad8da464 (diff) | |
download | qtbase-d7ccd8cb4565c8643b158891c9de3187c1586dc9.tar.gz |
Remove QByteArray's methods taking QString and their uses
[ChangeLog][QtCore][QByteArray] Remove method overloads taking
QString as argument, all of which were equivalent to passing the
toUtf8() of the string instead.
Change-Id: I9251733a9b3711153b2faddbbc907672a7cba190
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/testlib')
-rw-r--r-- | tests/auto/testlib/selftests/tst_selftests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/tst_selftests.cpp b/tests/auto/testlib/selftests/tst_selftests.cpp index b4294e6a09..6659525fec 100644 --- a/tests/auto/testlib/selftests/tst_selftests.cpp +++ b/tests/auto/testlib/selftests/tst_selftests.cpp @@ -804,7 +804,7 @@ QByteArray sanitizeOutput(const QString &test, const QByteArray &output) if (test == "crashes") { #if !defined(Q_OS_WIN) // Remove digits of times - const QLatin1String timePattern("Function time:"); + const QByteArray timePattern("Function time:"); int timePos = actual.indexOf(timePattern); if (timePos >= 0) { timePos += timePattern.size(); |