forked from qt-creator/qt-creator
Revert "QmlDesigner: crash fix for copy and paste"
Enable correct handling of imports again.
This reverts commit de610cac45.
This commit is contained in:
@@ -459,7 +459,7 @@ void DesignDocumentController::deleteSelected()
|
||||
|
||||
void DesignDocumentController::copySelected()
|
||||
{
|
||||
QScopedPointer<Model> model(Model::create("import Qt 4.7; Qt/Rectangle"));
|
||||
QScopedPointer<Model> model(Model::create("Qt/Rectangle"));
|
||||
model->setMetaInfo(m_d->model->metaInfo());
|
||||
model->setFileUrl(m_d->model->fileUrl());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user