summaryrefslogtreecommitdiffstats
path: root/kio
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-17 21:10:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-17 21:10:55 +0000
commitab15fb9e555aaf0d05c5ef1f26608db32db1eafa (patch)
tree809882472a8f302da587f47b756680970113b013 /kio
parent2c876bec41b763e3290010675d7ccd9c3fdc294e (diff)
downloadtdelibs-ab15fb9e555aaf0d05c5ef1f26608db32db1eafa.tar.gz
tdelibs-ab15fb9e555aaf0d05c5ef1f26608db32db1eafa.zip
Bugfix batch 1/2
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1176511 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 ) )
{