summaryrefslogtreecommitdiffstats
path: root/kio
diff options
context:
space:
mode:
Diffstat (limited to 'kio')
-rw-r--r--kio/kio/krun.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/kio/kio/krun.cpp b/kio/kio/krun.cpp
index 72de2eb46..995a2121b 100644
--- a/kio/kio/krun.cpp
+++ b/kio/kio/krun.cpp
@@ -1019,6 +1019,15 @@ void KRun::init()
}
}
+ if ((m_strURL.protocol().startsWith("http")) && (m_strURL.url() == "http://default.browser")) {
+ KURL::List urls;
+ run( "kfmclient openProfile webbrowsing", urls );
+ m_bFinished = true;
+ // will emit the error and autodelete this
+ m_timer.start( 0, true );
+ return;
+ }
+
// Did we already get the information that it is a directory ?
if ( S_ISDIR( m_mode ) )
{