summaryrefslogtreecommitdiffstats
path: root/kio
diff options
context:
space:
mode:
Diffstat (limited to 'kio')
-rw-r--r--kio/kio/krun.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kio/kio/krun.cpp b/kio/kio/krun.cpp
index f02ced30d..72de2eb46 100644
--- a/kio/kio/krun.cpp
+++ b/kio/kio/krun.cpp
@@ -980,7 +980,8 @@ void KRun::init()
bool ok = false;
KURL::List urls;
- urls.append( m_strURL );
+ if (!((m_strURL.protocol().startsWith("http")) && (m_strURL.url() == "http://default.browser")))
+ urls.append( m_strURL );
if (exec.isEmpty())
{
exec = KProtocolInfo::exec( m_strURL.protocol() );