From 4c0645b4c6cf14d28703fce60ac44b26b2132152 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann <Thomas.Hartmann@nokia.com> Date: Thu, 25 Mar 2010 16:54:10 +0100 Subject: [PATCH] QmlDesigner.propertyEditor: avoid warnings for LineEdit.qml --- share/qtcreator/qmldesigner/propertyeditor/Qt/LineEdit.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/LineEdit.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/LineEdit.qml index 6a44ab9817b..da44e7de9f2 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/LineEdit.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/LineEdit.qml @@ -47,7 +47,7 @@ QWidget { width: lineEdit.width height: lineEdit.height - text: backendValue.value + text: (backendValue === undefined || backendValue.value === undefined) ? "" : backendValue.value onEditingFinished: { backendValue.value = text -- GitLab