diff options
author | Marco Bubke <marco.bubke@theqtcompany.com> | 2016-01-11 11:54:27 +0100 |
---|---|---|
committer | Marco Bubke <marco.bubke@theqtcompany.com> | 2016-02-02 11:56:23 +0000 |
commit | cc1ed420c21f192be159a42878645e395db140bb (patch) | |
tree | b74f8171a3a4db6074fa5c831a6945f893cbc6d2 /src/plugins/cpptools/cpptoolsbridgeqtcreatorimplementation.cpp | |
parent | e134dfcad450c16938d03f5aa881073b6c9329ba (diff) | |
download | qt-creator-cc1ed420c21f192be159a42878645e395db140bb.tar.gz |
Clang: Break dependency to visible Core::EditorManager::visibleEditors()
Change-Id: I4157cd190a8c00b07c0e2f3eeeab18409f2405b7
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsbridgeqtcreatorimplementation.cpp')
-rw-r--r-- | src/plugins/cpptools/cpptoolsbridgeqtcreatorimplementation.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpptoolsbridgeqtcreatorimplementation.cpp b/src/plugins/cpptools/cpptoolsbridgeqtcreatorimplementation.cpp index 42ca871ded..7b9eb69ca1 100644 --- a/src/plugins/cpptools/cpptoolsbridgeqtcreatorimplementation.cpp +++ b/src/plugins/cpptools/cpptoolsbridgeqtcreatorimplementation.cpp @@ -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 |