Commit 39033e94 authored by David Faure's avatar David Faure
Browse files

Repair opening URLs in konqueror

We don't want to launch firefox when doing "konqueror www.kde.org" :)

This is similar to the logic in commit 2abb3fa9

The fix for konqueror also depends on
network/konqueror@6a46c0c8

BUG: 442636
parent d0b44e40
......@@ -423,9 +423,11 @@ void KRun::init()
return;
}
if (!d->m_externalBrowser.isEmpty() && d->m_strURL.scheme().startsWith(QLatin1String("http"))) {
if (d->runExternalBrowser(d->m_externalBrowser)) {
return;
if (d->m_strURL.scheme().startsWith(QLatin1String("http"))) {
if (!d->m_externalBrowser.isEmpty()) {
if (d->runExternalBrowser(d->m_externalBrowser)) {
return;
}
}
} else if (d->m_strURL.isLocalFile()
&& (d->m_strURL.host().isEmpty() || (d->m_strURL.host() == QLatin1String("localhost"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment