diff options
author | Orgad Shaneh <[email protected]> | 2013-08-06 21:35:06 +0300 |
---|---|---|
committer | Orgad Shaneh <[email protected]> | 2013-08-07 11:08:36 +0200 |
commit | 0b4300a68c744dc33af545a88b82cbd6c00fcb5d (patch) | |
tree | 9464c4c64f3ec8b505835caeb9cfcb1ecefe749c /src/plugins/cvs/cvsplugin.cpp | |
parent | 5a02089e3cd165d1774e2b0f0e8d466f0688f9dd (diff) |
EditorManager: Make closeEditor public
And use it where appropriate
Change-Id: I0f37b8aada6eaa9be6743724b91a59173a01cb0c
Reviewed-by: hjk <[email protected]>
Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/plugins/cvs/cvsplugin.cpp')
-rw-r--r-- | src/plugins/cvs/cvsplugin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cvs/cvsplugin.cpp b/src/plugins/cvs/cvsplugin.cpp index d29efd5af6b..d0c3bd8e370 100644 --- a/src/plugins/cvs/cvsplugin.cpp +++ b/src/plugins/cvs/cvsplugin.cpp @@ -1212,8 +1212,7 @@ bool CvsPlugin::describe(const QString &repositoryPath, void CvsPlugin::submitCurrentLog() { m_submitActionTriggered = true; - EditorManager::instance()->closeEditors(QList<IEditor*>() - << EditorManager::currentEditor()); + EditorManager::instance()->closeEditor(EditorManager::currentEditor()); } // Run CVS. At this point, file arguments must be relative to |