QmlDesigner: Remove call to SubComponentManager::update

It has no model attached so is doing nothing and called later again.

Change-Id: Ide36ba5640ff18e29d5be2ad5911ed448f37c92b
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
This commit is contained in:
Marco Bubke
2014-07-14 15:18:02 +02:00
parent d8457b63c3
commit 36dc3fb01c

View File

@@ -244,8 +244,6 @@ void DesignDocument::loadDocument(QPlainTextEdit *edit)
updateFileName(QString(), fileName()); updateFileName(QString(), fileName());
m_subComponentManager->update(QUrl::fromLocalFile(fileName()), currentModel()->imports());
m_documentLoaded = true; m_documentLoaded = true;
} }