summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-05 00:34:13 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-05 00:34:13 +0200
commit540df7785c5b4a5368757572dcd7f7f10fe93963 (patch)
tree21df24c462eb12d84e789a4a93d866e96aea4f7f /src/application.cpp
parent- Cleaning mouse gesture managements (diff)
downloadrekonq-540df7785c5b4a5368757572dcd7f7f10fe93963.tar.xz
Removed unuseful isKnownProtol check
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp7
1 files changed, 0 insertions, 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 <KToolInvocation>
#include <KUriFilter>
#include <KMessageBox>
-#include <KProtocolInfo>
#include <KWindowInfo>
// 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;