forked from qt-creator/qt-creator
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:
@@ -244,8 +244,6 @@ void DesignDocument::loadDocument(QPlainTextEdit *edit)
|
||||
|
||||
updateFileName(QString(), fileName());
|
||||
|
||||
m_subComponentManager->update(QUrl::fromLocalFile(fileName()), currentModel()->imports());
|
||||
|
||||
m_documentLoaded = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user