forked from qt-creator/qt-creator
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 <christian.stenger@qt.io>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user