Commit a16bee8b authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Thomas Hartmann

QmlPuppet: Add missing braces

Detected by GCC6

Change-Id: I62ad2da87477251b6abbf8f5c33c6a392787fb41
Reviewed-by: default avatarNikita Baryshnikov <>
Reviewed-by: default avatarThomas Hartmann <>
parent 2be4d264
......@@ -43,13 +43,14 @@ QHash<QObject *, DesignerCustomObjectData*> m_objectToDataHash;
DesignerCustomObjectData::DesignerCustomObjectData(QObject *object)
: m_object(object)
if (object)
if (object) {
m_objectToDataHash.insert(object, this);
QObject::connect(object, &QObject::destroyed, [=] {
delete this;
void DesignerCustomObjectData::registerData(QObject *object)
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