diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp index 63bafd96ac5..8c59304303c 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp @@ -220,7 +220,7 @@ void PropertyEditorValue::registerDeclarativeTypes() qmlRegisterType("Bauhaus",1,0,"QDeclarativePropertyMap"); } -PropertyEditorNodeWrapper::PropertyEditorNodeWrapper(PropertyEditorValue* parent) : m_valuesPropertyMap(this) +PropertyEditorNodeWrapper::PropertyEditorNodeWrapper(PropertyEditorValue* parent) : QObject(parent), m_valuesPropertyMap(this) { m_editorValue = parent; connect(m_editorValue, SIGNAL(modelNodeChanged()), this, SLOT(update()));