From 21323faaa847d588761f4cc3f0f1baca4707790a Mon Sep 17 00:00:00 2001
From: Kai Koehne <kai.koehne@nokia.com>
Date: Fri, 3 Jul 2009 14:11:39 +0200
Subject: [PATCH] Fix non matching connect, disconnect in editorview

---
 src/plugins/coreplugin/editormanager/editorview.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/coreplugin/editormanager/editorview.cpp b/src/plugins/coreplugin/editormanager/editorview.cpp
index 89e1465090e..b47f17cc107 100644
--- a/src/plugins/coreplugin/editormanager/editorview.cpp
+++ b/src/plugins/coreplugin/editormanager/editorview.cpp
@@ -296,7 +296,7 @@ void EditorView::removeEditor(IEditor *editor)
     m_container->removeWidget(editor->widget());
     m_widgetEditorMap.remove(editor->widget());
     editor->widget()->setParent(0);
-    disconnect(editor, SIGNAL(changed()), this, SLOT(updateEditorStatus()));
+    disconnect(editor, SIGNAL(changed()), this, SLOT(checkEditorStatus()));
     QToolBar *toolBar = editor->toolBar();
     if (toolBar != 0) {
         if (m_activeToolBar == toolBar) {
-- 
GitLab