forked from qt-creator/qt-creator
QtOutputFormatter: Fix double invocation of file finder
It's hard to imagine that that was intentional. Change-Id: I9459e0043e31bd92179aad3aa8712c233ed17084 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -228,7 +228,7 @@ void QtOutputFormatter::handleLink(const QString &href)
|
||||
if (qmlLineMatch.hasMatch()) {
|
||||
const QUrl fileUrl = QUrl(qmlLineMatch.captured(1));
|
||||
const int line = qmlLineMatch.captured(2).toInt();
|
||||
openEditor(d->projectFinder.findFile(d->projectFinder.findFile(fileUrl)), line);
|
||||
openEditor(d->projectFinder.findFile(fileUrl), line);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user