From d7bbc59e802d23abbaa59df8b4b1b4b313c3bb07 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 2 Aug 2012 14:45:16 +0200 Subject: Removed (FOR NOW) open search feature This needs a new implementation and a better integration in rekonq code WARNING: Restart reverting this... --- src/webtab/webtab.cpp | 7 ------- src/webtab/webtab.h | 1 - 2 files changed, 8 deletions(-) (limited to 'src/webtab') diff --git a/src/webtab/webtab.cpp b/src/webtab/webtab.cpp index 27e711fd..e53d7b48 100644 --- a/src/webtab/webtab.cpp +++ b/src/webtab/webtab.cpp @@ -179,13 +179,6 @@ bool WebTab::hasRSSInfo() } -bool WebTab::hasNewSearchEngine() -{ - QWebElement e = page()->mainFrame()->findFirstElement(QL1S("head >link[rel=\"search\"][ type=\"application/opensearchdescription+xml\"]")); - return !e.isNull(); // FIXME && !rApp->opensearchManager()->engineExists(extractOpensearchUrl(e)); -} - - void WebTab::createWalletBar(const QString &key, const QUrl &url) { // check if the url is in the wallet blacklist diff --git a/src/webtab/webtab.h b/src/webtab/webtab.h index 5984ea53..8b60f0ff 100644 --- a/src/webtab/webtab.h +++ b/src/webtab/webtab.h @@ -71,7 +71,6 @@ public: KUrl url(); bool hasRSSInfo(); - bool hasNewSearchEngine(); void createPreviewSelectorBar(int index); void hideSelectorBar(); -- cgit v1.2.1