From d09e7314a81210337b89bd3763c60ac3b2c2eefa Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 18 Dec 2009 20:28:43 +0100 Subject: native ftp handling & file one ported to kde functions. One step to be feature complete (at least for 0.4): I need to know if an ftp url represent a file or a dir.. --- src/application.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/application.cpp') diff --git a/src/application.cpp b/src/application.cpp index 28d998f3..8b8234b5 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -348,7 +348,10 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type) // ------------------- END WARNING -------------------------------------- // we are sure of the url now, let's add it to history - historyManager()->addHistoryEntry( loadingUrl.prettyUrl() ); + // anyway we store here just http sites because local and ftp ones are + // added trough the protocol handler and the other are ignored + if( url.protocol() == QLatin1String("http") ) + historyManager()->addHistoryEntry( loadingUrl.prettyUrl() ); if (!ReKonfig::openTabsBack()) { -- cgit v1.2.1