diff --git a/src/plugins/coreplugin/editormanager/openeditorsview.cpp b/src/plugins/coreplugin/editormanager/openeditorsview.cpp index 0e64fd98cb2e0d7aa7aaf5e5e3f53aec33368328..463ebf4390f61c422b1bbfeafafb459b96775122 100644 --- a/src/plugins/coreplugin/editormanager/openeditorsview.cpp +++ b/src/plugins/coreplugin/editormanager/openeditorsview.cpp @@ -70,8 +70,8 @@ OpenEditorsWidget::OpenEditorsWidget() m_ui.editorList->setModel(em->openedEditorsModel()); connect(em, SIGNAL(currentEditorChanged(Core::IEditor*)), this, SLOT(updateCurrentItem(Core::IEditor*))); - connect(m_ui.editorList, SIGNAL(itemClicked(QTreeWidgetItem*, int)), - this, SLOT(selectEditor(QTreeWidgetItem*))); + connect(m_ui.editorList, SIGNAL(clicked(QModelIndex)), + this, SLOT(selectEditor(QModelIndex))); //updateEditorList(); }