summaryrefslogtreecommitdiffstats
path: root/tests/auto/xml
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2022-04-29 14:09:38 +0200
committerSona Kurazyan <sona.kurazyan@qt.io>2022-05-02 12:23:44 +0200
commit17e06afdc3a783ec9c9e317e6f160e82db0bd5cd (patch)
treec156386ebe8eabc037c113f7e53ac9f9ba4d17c9 /tests/auto/xml
parent40ba4b24375686ae419c7b579a497ac83246e0dc (diff)
Replace remaining uses of deprecated _qs with _s
Task-number: QTBUG-101408 Change-Id: I1fda67c07e948af5017f0b99b67f8c20d7052033 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/auto/xml')
-rw-r--r--tests/auto/xml/dom/qdom/tst_qdom.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/xml/dom/qdom/tst_qdom.cpp b/tests/auto/xml/dom/qdom/tst_qdom.cpp
index cc0eef3d02..786a24f35a 100644
--- a/tests/auto/xml/dom/qdom/tst_qdom.cpp
+++ b/tests/auto/xml/dom/qdom/tst_qdom.cpp
@@ -43,6 +43,8 @@
QT_FORWARD_DECLARE_CLASS(QDomDocument)
QT_FORWARD_DECLARE_CLASS(QDomNode)
+using namespace Qt::StringLiterals;
+
class tst_QDom : public QObject
{
Q_OBJECT
@@ -1445,7 +1447,7 @@ void tst_QDom::roundTripAttributes() const
void tst_QDom::roundTripCDATA() const
{
const QString input = u"<?xml version='1.0' encoding='UTF-8'?>\n"
- "<content><![CDATA[]]></content>\n"_qs;
+ "<content><![CDATA[]]></content>\n"_s;
QString errorMsg;
QDomDocument doc;
QVERIFY(doc.setContent(input, false, &errorMsg));