diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-16 08:21:36 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-16 08:21:36 +0000 |
commit | b4eb2132ef5b2d1706bef6f53d0f24d2b1e9e8ff (patch) | |
tree | f62713aa35835f0f3322eb109c16182bdd73376f /kio | |
parent | 70331186c82001a2652bf40e01d49dc8a8ac3a4b (diff) | |
download | tdelibs-b4eb2132ef5b2d1706bef6f53d0f24d2b1e9e8ff.tar.gz tdelibs-b4eb2132ef5b2d1706bef6f53d0f24d2b1e9e8ff.zip |
Add ability to launch default browser
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1175948 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio')
-rw-r--r-- | kio/kio/krun.cpp | 3 |
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() ); |