From edfe1a6bf4f184e1f0187b3ce112e7e2921a4dda Mon Sep 17 00:00:00 2001 From: Yoann Laissus Date: Tue, 28 Dec 2010 03:00:50 +0100 Subject: Fix a regression introduced by f8a2d38a KDE documentation protocol is opened directly in rekonq instead of the KDE default browser --- src/protocolhandler.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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()) -- cgit v1.2.1