Commit 7a5836d2 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.Instances: emit component complete signal for 5.1

Emitting the Component.onComplete signal.

This is only available in Qt 5.1

Change-Id: I77503333296cccd9999d2610cca126530f777777
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 4e37f1cd
......@@ -12,6 +12,8 @@
#include <private/qquicktextinput_p.h>
#include <private/qquicktextedit_p.h>
#include <designersupport.h>
namespace QmlDesigner {
namespace Internal {
......@@ -499,6 +501,10 @@ void GraphicalNodeInstance::doComponentComplete()
disableTextCursor(quickItem());
#if (QT_VERSION >= QT_VERSION_CHECK(5, 1, 0))
DesignerSupport::emitComponentCompleteSignalForAttachedProperty(quickItem());
#endif
quickItem()->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