diff options
Diffstat (limited to 'src/plugins/projectexplorer/taskwindow.cpp')
-rw-r--r-- | src/plugins/projectexplorer/taskwindow.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/taskwindow.cpp b/src/plugins/projectexplorer/taskwindow.cpp index 438e0b3c2e4..64ccf827544 100644 --- a/src/plugins/projectexplorer/taskwindow.cpp +++ b/src/plugins/projectexplorer/taskwindow.cpp @@ -262,8 +262,11 @@ TaskView::Location TaskView::locationForPos(const QPoint &pos) loc.file = fp; loc.line = line; loc.column = column; - }); - formatter.handleLink(delegate->hrefForPos(pos)); + }); + + const QString href = delegate->hrefForPos(pos); + if (!href.isEmpty()) + formatter.handleLink(href); return loc; } |