diff options
author | hjk <[email protected]> | 2016-06-27 14:38:36 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2016-06-28 14:28:01 +0000 |
commit | 2a104dcfe7329cb264a27b154ab122b51efad10d (patch) | |
tree | db90159923ba090a46ac841fea47849374f76dc2 /src/plugins/debugger/sourceagent.cpp | |
parent | 5199f84f60ed07d75bb071ba2d2de375adeefec7 (diff) |
Debugger: Consolidate icon storage handling
We settled now on global objects being fine for the purpose
in Core and ProjectExplorer, so there's no point in using
something more fancy in the debugger.
Change-Id: I72e45f398c09d22894419c274dfbea77da0fc153
Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/debugger/sourceagent.cpp')
-rw-r--r-- | src/plugins/debugger/sourceagent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/sourceagent.cpp b/src/plugins/debugger/sourceagent.cpp index f04bf49960c..1d9042d16ec 100644 --- a/src/plugins/debugger/sourceagent.cpp +++ b/src/plugins/debugger/sourceagent.cpp @@ -26,8 +26,8 @@ #include "sourceagent.h" #include "debuggerengine.h" +#include "debuggericons.h" #include "debuggerinternalconstants.h" -#include "debuggercore.h" #include "stackhandler.h" #include <coreplugin/editormanager/editormanager.h> @@ -141,7 +141,7 @@ void SourceAgent::updateLocationMarker() d->locationMark = new TextMark(QString(), lineNumber, Constants::TEXT_MARK_CATEGORY_LOCATION); - d->locationMark->setIcon(locationMarkIcon()); + d->locationMark->setIcon(Icons::LOCATION.icon()); d->locationMark->setPriority(TextMark::HighPriority); d->editor->textDocument()->addMark(d->locationMark); |