summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-12-28 03:00:50 +0100
committerYoann Laissus <yoann.laissus@gmail.com>2010-12-28 03:00:50 +0100
commitedfe1a6bf4f184e1f0187b3ce112e7e2921a4dda (patch)
tree783d21869dbbe88accfabd20c90f9f34c69dee8f /src
parentGrab the actual font from the action. (diff)
downloadrekonq-edfe1a6bf4f184e1f0187b3ce112e7e2921a4dda.tar.xz
Fix a regression introduced by f8a2d38a
KDE documentation protocol is opened directly in rekonq instead of the KDE default browser
Diffstat (limited to 'src')
-rw-r--r--src/protocolhandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/protocolhandler.cpp b/src/protocolhandler.cpp
index 00d97f54..6dfc33a1 100644
--- a/src/protocolhandler.cpp
+++ b/src/protocolhandler.cpp
@@ -114,6 +114,10 @@ bool ProtocolHandler::preHandling(const QNetworkRequest &request, QWebFrame *fra
// rekonq can handle file & ftp schemes, if you like,,
if (_url.protocol() == QL1S("ftp") || _url.protocol() == QL1S("file"))
return false;
+
+ // rekonq can handle kde documentation protocol
+ if (_url.protocol() == QL1S("man") || _url.protocol() == QL1S("help") || _url.protocol() == QL1S("info"))
+ return false;
// relative urls
if (_url.isRelative())