forked from qt-creator/qt-creator
QmlDesigner.DesignDocument: code cleanup
Change-Id: Ib71117cb5726662b4212f99a7c4136005273ae66 Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
@@ -257,8 +257,6 @@ void DesignDocument::loadDocument(QPlainTextEdit *edit)
|
|||||||
|
|
||||||
m_inFileComponentTextModifier.reset();
|
m_inFileComponentTextModifier.reset();
|
||||||
|
|
||||||
//masterModel = Model::create(textModifier, searchPath, errors);
|
|
||||||
|
|
||||||
updateFileName(QString(), fileName());
|
updateFileName(QString(), fileName());
|
||||||
|
|
||||||
m_subComponentManager->update(QUrl::fromLocalFile(fileName()), currentModel()->imports());
|
m_subComponentManager->update(QUrl::fromLocalFile(fileName()), currentModel()->imports());
|
||||||
|
Reference in New Issue
Block a user