EditorManager: Make closeEditor public

And use it where appropriate

Change-Id: I0f37b8aada6eaa9be6743724b91a59173a01cb0c
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
Orgad Shaneh
2013-08-06 21:35:06 +03:00
committed by Orgad Shaneh
parent 5a02089e3c
commit 0b4300a68c
10 changed files with 15 additions and 25 deletions

View File

@@ -181,7 +181,7 @@ void GitSubmitEditor::updateFileModel()
} else {
VcsBase::VcsBaseOutputWindow::instance()->append(errorMessage);
m_forceClose = true;
Core::EditorManager::instance()->closeEditors(QList<IEditor*>() << this);
Core::EditorManager::instance()->closeEditor(this);
}
}