QmlDesigner.DesignDocument: code cleanup

Change-Id: Ib71117cb5726662b4212f99a7c4136005273ae66
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
Thomas Hartmann
2013-07-10 18:00:01 +02:00
parent 3768e32f89
commit ecb0470c30

View File

@@ -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());