forked from qt-creator/qt-creator
QmlDesigner: Change importAdded and importRemoved in importsChanged
This commit is contained in:
@@ -111,17 +111,11 @@ void NavigatorView::modelAboutToBeDetached(Model *model)
|
||||
AbstractView::modelAboutToBeDetached(model);
|
||||
}
|
||||
|
||||
void NavigatorView::importAdded(const Import &)
|
||||
void NavigatorView::importsChanged(const QList<Import> &/*addedImports*/, const QList<Import> &/*removedImports*/)
|
||||
{
|
||||
treeWidget()->update();
|
||||
}
|
||||
|
||||
void NavigatorView::importRemoved(const Import &)
|
||||
{
|
||||
treeWidget()->update();
|
||||
}
|
||||
|
||||
|
||||
void NavigatorView::nodeCreated(const ModelNode & /*createdNode*/)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user