diff options
author | Eike Ziller <[email protected]> | 2014-09-02 12:25:20 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2014-09-02 16:48:13 +0200 |
commit | 7224ccb2e7bab5b7bca88cbcd41829fdf3c25165 (patch) | |
tree | 6c3bc438bf4e68ce06cf5afd8950d235b0bd391e /src/plugins/debugger/debuggerplugin.cpp | |
parent | cae737e6291d8349602cd9bd2e109abd0292e5af (diff) |
Editors: Automatically add editor/document id to context and use that
instead of manually adding a context everywhere.
Change-Id: I4336015a6d19349171a255e949da89b0013d6700
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 36600aff11c..bd4b2ea1036 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -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")); |