forked from qt-creator/qt-creator
Core/Utils: Migrate further to Utils::Id
The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
|
||||
using namespace Core;
|
||||
using namespace TextEditor;
|
||||
using namespace Utils;
|
||||
|
||||
namespace DiffEditor {
|
||||
namespace Internal {
|
||||
@@ -60,7 +61,7 @@ DiffEditorFactory::DiffEditorFactory() :
|
||||
},
|
||||
rightHandler {
|
||||
Constants::DIFF_EDITOR_ID,
|
||||
Core::Id(Constants::SIDE_BY_SIDE_VIEW_ID).withSuffix(2),
|
||||
Utils::Id(Constants::SIDE_BY_SIDE_VIEW_ID).withSuffix(2),
|
||||
TextEditorActionHandler::None,
|
||||
[](Core::IEditor *e) { return static_cast<DiffEditor *>(e)->rightEditorWidget(); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user