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:
Christian Kandeler
2019-02-26 10:37:52 +01:00
parent 478002acb7
commit 9cb67fc0f4

View File

@@ -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;
}