aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-01-30 11:08:24 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-01-30 10:18:40 +0000
commitfee3be1bdf6de5192a70400e6acf4c5b5e55680b (patch)
tree32c6233bb6477722ab77531cadcf6d22720c81c4 /src/qml/qml
parent33badcde042a3fabe44b7e324d81d2b4f7cc808b (diff)
qqmltypenamecache.cpp: Fix warnings about deprecated string conversions
Amends change e74a1d0b342f2c95dc3a543c8c9ec07fd52d8fe0. Change-Id: I835ebdd0fb673a7656f0d62a8fedac35c8593c34 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qml')
-rw-r--r--src/qml/qml/qqmltypenamecache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmltypenamecache.cpp b/src/qml/qml/qqmltypenamecache.cpp
index b5b14d1ae8..c8e2b92c29 100644
--- a/src/qml/qml/qqmltypenamecache.cpp
+++ b/src/qml/qml/qqmltypenamecache.cpp
@@ -127,7 +127,7 @@ QQmlTypeNameCache::Result QQmlTypeNameCache::query(const QHashedStringRef &name,
// Look up types from the imports of this document
// ### it would be nice if QQmlImports allowed us to resolve a namespace
// first, and then types on it.
- QString qualifiedTypeName = i->m_qualifier + "." + name.toString();
+ QString qualifiedTypeName = i->m_qualifier + QLatin1Char('.') + name.toString();
QQmlImportNamespace *typeNamespace = 0;
QList<QQmlError> errors;
QQmlType *t = 0;
@@ -188,7 +188,7 @@ QQmlTypeNameCache::Result QQmlTypeNameCache::query(const QV4::String *name, cons
// Look up types from the imports of this document
// ### it would be nice if QQmlImports allowed us to resolve a namespace
// first, and then types on it.
- QString qualifiedTypeName = i->m_qualifier + "." + name->toQStringNoThrow();
+ QString qualifiedTypeName = i->m_qualifier + QLatin1Char('.') + name->toQStringNoThrow();
QQmlImportNamespace *typeNamespace = 0;
QList<QQmlError> errors;
QQmlType *t = 0;