forked from qt-creator/qt-creator
Use FileName in TextMark
Change-Id: I3666d95dc8ef3b7da099d6d30f5cb4678a349493 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -139,7 +139,7 @@ void SourceAgent::updateLocationMarker()
|
||||
if (d->engine->stackHandler()->currentFrame().file == d->path) {
|
||||
int lineNumber = d->engine->stackHandler()->currentFrame().line;
|
||||
|
||||
d->locationMark = new TextMark(QString(), lineNumber,
|
||||
d->locationMark = new TextMark(Utils::FileName(), lineNumber,
|
||||
Constants::TEXT_MARK_CATEGORY_LOCATION);
|
||||
d->locationMark->setIcon(Icons::LOCATION.icon());
|
||||
d->locationMark->setPriority(TextMark::HighPriority);
|
||||
|
||||
Reference in New Issue
Block a user