diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-03-21 10:21:18 +0100 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-04-29 09:47:43 +0200 |
commit | 2c9c1590e6c9dc59bd786f4b41af32f1994bed2d (patch) | |
tree | 7cc1302426732093f1c88c1d7621a95854ade0e2 /src/qmltest | |
parent | ecc87ea07723998dcfa947353e4259ec8d057035 (diff) |
Replace uses of deprecated _qs with _s/QStringLiteral
Task-number: QTBUG-101408
Change-Id: Ic925751b73f52d8fa5add5cacc52d6dd6ea2dc27
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qmltest')
-rw-r--r-- | src/qmltest/quicktestutil.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qmltest/quicktestutil.cpp b/src/qmltest/quicktestutil.cpp index 87abaeb177..132c172eea 100644 --- a/src/qmltest/quicktestutil.cpp +++ b/src/qmltest/quicktestutil.cpp @@ -53,6 +53,8 @@ QT_BEGIN_NAMESPACE +using namespace Qt::StringLiterals; + bool QuickTestUtil::printAvailableFunctions() const { return QTest::printAvailableFunctions; @@ -67,7 +69,7 @@ void QuickTestUtil::populateClipboardText(int lineCount) { #if QT_CONFIG(clipboard) QString fmt(u"%1 bottles of beer on the wall, %1 bottles of beer; " - "take one down, pass it around, %2 bottles of beer on the wall."_qs); + "take one down, pass it around, %2 bottles of beer on the wall."_s); QStringList lines; for (int i = lineCount; i > 0; --i) lines << fmt.arg(i).arg(i - 1); |