forked from qt-creator/qt-creator
Clang: Break dependency to visible Core::EditorManager::visibleEditors()
Change-Id: I4157cd190a8c00b07c0e2f3eeeab18409f2405b7 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user