Commit 076bc144 authored by Tim Jenssen's avatar Tim Jenssen

QmlDesigner: remove second setSource call

Change-Id: Ieee470f71b5bdd887986c12b214dc10702f48cc3
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 395eacd5
......@@ -41,11 +41,8 @@ namespace QmlDesigner {
void Quick2PropertyEditorView::execute()
{
m_view.setSource(m_source);
if (!m_source.isEmpty()) {
m_view.setSource(m_source);
if (!m_source.isEmpty())
connect(&m_view, SIGNAL(statusChanged(QQuickView::Status)), this, SLOT(continueExecute()));
}
}
Quick2PropertyEditorView::Quick2PropertyEditorView(QWidget *parent) :
......
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