From 540df7785c5b4a5368757572dcd7f7f10fe93963 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 5 Oct 2009 00:34:13 +0200 Subject: Removed unuseful isKnownProtol check --- src/application.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/application.cpp b/src/application.cpp index b8ee0a93..e3c06a5b 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -52,7 +52,6 @@ #include #include #include -#include #include // Qt Includes @@ -337,12 +336,6 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type) loadingUrl = data.uri().url(); } - if ( !KProtocolInfo::isKnownProtocol( loadingUrl ) ) - { - KMessageBox::error(0, i18n("Protocol not supported:\n%1", url.protocol())); - return; - } - WebView *webView = 0; MainWindow *w = 0; -- cgit v1.2.1