diff options
Diffstat (limited to 'tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp')
-rw-r--r-- | tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp b/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp index 0f89ccee8b..6a9d7e61ee 100644 --- a/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp +++ b/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp @@ -41,7 +41,7 @@ #endif using namespace QtPrivate; - +using namespace Qt::StringLiterals; struct DtorCounter { static inline int counter = 0; @@ -1697,9 +1697,9 @@ public: Q_INVOKABLE bool bindingTest() { - QProperty<QString> name(u"inThread"_qs); + QProperty<QString> name(u"inThread"_s); bindableObjectName().setBinding([&]() -> QString { return name; }); - name = u"inThreadChanged"_qs; + name = u"inThreadChanged"_s; const bool nameChangedCorrectly = objectName() == name; bindableObjectName().takeBinding(); return nameChangedCorrectly; |