Clang: Break dependency to visible Core::EditorManager::visibleEditors()

Change-Id: I4157cd190a8c00b07c0e2f3eeeab18409f2405b7
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Marco Bubke
2016-01-11 11:54:27 +01:00
parent e134dfcad4
commit cc1ed420c2
5 changed files with 26 additions and 0 deletions

View File

@@ -30,6 +30,8 @@
#include "projectpart.h"
#include "editordocumenthandle.h"
#include <coreplugin/editormanager/editormanager.h>
namespace CppTools {
namespace Internal {
@@ -86,6 +88,11 @@ void CppToolsBridgeQtCreatorImplementation::finishedRefreshingSourceFiles(
CppModelManager::instance()->finishedRefreshingSourceFiles(filePaths);
}
QList<Core::IEditor *> CppToolsBridgeQtCreatorImplementation::visibleEditors() const
{
return Core::EditorManager::visibleEditors();
}
} // namespace Internal
} // namespace CppTools