diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2010-12-28 03:00:50 +0100 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2010-12-28 03:00:50 +0100 |
commit | edfe1a6bf4f184e1f0187b3ce112e7e2921a4dda (patch) | |
tree | 783d21869dbbe88accfabd20c90f9f34c69dee8f | |
parent | Grab the actual font from the action. (diff) | |
download | rekonq-edfe1a6bf4f184e1f0187b3ce112e7e2921a4dda.tar.xz |
Fix a regression introduced by f8a2d38a
KDE documentation protocol is opened directly in rekonq instead of the KDE default browser
-rw-r--r-- | src/protocolhandler.cpp | 4 |
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()) |