Commit 524f998c authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner: fixing memory leak

parent 24a9a22b
......@@ -220,7 +220,7 @@ void PropertyEditorValue::registerDeclarativeTypes()
qmlRegisterType<QDeclarativePropertyMap>("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()));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment