diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2019-02-26 10:37:52 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2019-02-26 13:15:41 +0000 |
commit | 9cb67fc0f4dc6eb9e04ea896b14861863c92cc5a (patch) | |
tree | a207451af1f50c3ee623aa8156d9e6b7b5a10113 | |
parent | 478002acb7f03e00ba00a6acd3eca81dbc75b14c (diff) | |
download | qt-creator-9cb67fc0f4dc6eb9e04ea896b14861863c92cc5a.tar.gz |
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>
-rw-r--r-- | src/plugins/qtsupport/qtoutputformatter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qtsupport/qtoutputformatter.cpp b/src/plugins/qtsupport/qtoutputformatter.cpp index c5a4d7a427..cb98654858 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; } |