From 9cb67fc0f4dc6eb9e04ea896b14861863c92cc5a Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 26 Feb 2019 10:37:52 +0100 Subject: [PATCH] QtOutputFormatter: Fix double invocation of file finder It's hard to imagine that that was intentional. Change-Id: I9459e0043e31bd92179aad3aa8712c233ed17084 Reviewed-by: hjk --- src/plugins/qtsupport/qtoutputformatter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qtsupport/qtoutputformatter.cpp b/src/plugins/qtsupport/qtoutputformatter.cpp index c5a4d7a427b..cb98654858c 100644 --- a/src/plugins/qtsupport/qtoutputformatter.cpp +++ b/src/plugins/qtsupport/qtoutputformatter.cpp @@ -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; }