Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.6.2
-
None
Description
In QTextBrowserPrivate::_q_activateAnchor() there is the code sequence
if ((openExternalLinks && url.scheme() != QLatin1String("file") && url.scheme() != QLatin1String("qrc") && !url.isRelative()) || (url.isRelative() && !currentURL.isRelative() && currentURL.scheme() != QLatin1String("file") && currentURL.scheme() != QLatin1String("qrc"))) { QDesktopServices::openUrl(url); return;
QDesktopServices::openUrl() should not be called anyway if openExternalLinks is false, so the second condition does not seem right.