From 17e06afdc3a783ec9c9e317e6f160e82db0bd5cd Mon Sep 17 00:00:00 2001 From: Sona Kurazyan Date: Fri, 29 Apr 2022 14:09:38 +0200 Subject: Replace remaining uses of deprecated _qs with _s Task-number: QTBUG-101408 Change-Id: I1fda67c07e948af5017f0b99b67f8c20d7052033 Reviewed-by: Edward Welbourne --- tests/auto/xml/dom/qdom/tst_qdom.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/auto/xml') 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"\n" - "\n"_qs; + "\n"_s; QString errorMsg; QDomDocument doc; QVERIFY(doc.setContent(input, false, &errorMsg)); -- cgit v1.2.3