forked from qt-creator/qt-creator
Editors: Automatically add editor/document id to context and use that
instead of manually adding a context everywhere. Change-Id: I4336015a6d19349171a255e949da89b0013d6700 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -2726,7 +2726,7 @@ void DebuggerPluginPrivate::extensionsInitialized()
|
||||
|
||||
const Context globalcontext(CC::C_GLOBAL);
|
||||
const Context cppDebuggercontext(C_CPPDEBUGGER);
|
||||
const Context cppeditorcontext(CppEditor::Constants::C_CPPEDITOR);
|
||||
const Context cppeditorcontext(CppEditor::Constants::CPPEDITOR_ID);
|
||||
|
||||
m_startIcon = QIcon(_(":/debugger/images/debugger_start_small.png"));
|
||||
m_startIcon.addFile(QLatin1String(":/debugger/images/debugger_start.png"));
|
||||
|
||||
Reference in New Issue
Block a user