aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/designer
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2015-07-28 13:53:43 +0200
committerThomas Hartmann <Thomas.Hartmann@digia.com>2015-07-30 08:19:49 +0000
commit3a62fbf1c75417af13a88d70339b69c354c3f838 (patch)
treede845a8a26f5f1118c5c59702aa54828e86a6bc8 /src/quick/designer
parente6114a88bbbbe3936391d180044ea89a3bcce4a0 (diff)
Fix warnings
Change-Id: I4acbf9bdc09ef2d906c1ae1894e5f5995b93ae72 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src/quick/designer')
-rw-r--r--src/quick/designer/qquickdesignersupportproperties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/designer/qquickdesignersupportproperties.cpp b/src/quick/designer/qquickdesignersupportproperties.cpp
index 08ba8c8675..96f09ada48 100644
--- a/src/quick/designer/qquickdesignersupportproperties.cpp
+++ b/src/quick/designer/qquickdesignersupportproperties.cpp
@@ -200,7 +200,7 @@ QQuickDesignerSupport::PropertyNameList QQuickDesignerSupportProperties::allProp
QMetaProperty metaProperty = metaObject->property(index);
QQmlProperty declarativeProperty(object, QString::fromUtf8(metaProperty.name()));
if (declarativeProperty.isValid() && declarativeProperty.propertyTypeCategory() == QQmlProperty::Object) {
- if (declarativeProperty.name() != "parent") {
+ if (declarativeProperty.name() != QLatin1String("parent")) {
QObject *childObject = QQmlMetaType::toQObject(declarativeProperty.read());
if (childObject)
propertyNameList.append(allPropertyNames(childObject,