forked from qt-creator/qt-creator
CppEditor: Add support for showing pre-processed source files
Fixes: QTCREATORBUG-4 Change-Id: I819709e69e604849264e745da98065829f7cb228 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -607,11 +607,11 @@ ProjectExplorer::Project *projectForProjectInfo(const ProjectInfo &info)
|
||||
return ProjectExplorer::SessionManager::projectWithProjectFilePath(info.projectFilePath());
|
||||
}
|
||||
|
||||
void openEditor(const Utils::FilePath &filePath, bool inNextSplit)
|
||||
void openEditor(const Utils::FilePath &filePath, bool inNextSplit, Utils::Id editorId)
|
||||
{
|
||||
using Core::EditorManager;
|
||||
EditorManager::openEditor(filePath, {}, inNextSplit ? EditorManager::OpenInOtherSplit
|
||||
: EditorManager::NoFlags);
|
||||
EditorManager::openEditor(filePath, editorId, inNextSplit ? EditorManager::OpenInOtherSplit
|
||||
: EditorManager::NoFlags);
|
||||
}
|
||||
|
||||
namespace Internal {
|
||||
|
||||
Reference in New Issue
Block a user