summaryrefslogtreecommitdiff
path: root/src/opensearch/opensearchreader.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-04-23 00:34:19 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-04-23 00:34:19 +0200
commitae1c295495659fb01874ae6af4d0b89a0a2424dc (patch)
tree8143905fece76f036e893d4684443025a67ea4d4 /src/opensearch/opensearchreader.cpp
parentAdd fixed favorite icon in the toolbar to let add favorites easier (diff)
downloadrekonq-ae1c295495659fb01874ae6af4d0b89a0a2424dc.tar.xz
Fix opensearch add shortcut handling
(at least on every site tested, but opensearch.org itself. Broken?) BUG: 296707
Diffstat (limited to 'src/opensearch/opensearchreader.cpp')
-rw-r--r--src/opensearch/opensearchreader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opensearch/opensearchreader.cpp b/src/opensearch/opensearchreader.cpp
index 897fca29..a4f43b7a 100644
--- a/src/opensearch/opensearchreader.cpp
+++ b/src/opensearch/opensearchreader.cpp
@@ -83,6 +83,7 @@ OpenSearchEngine *OpenSearchReader::read()
|| namespaceUri() != QL1S("http://a9.com/-/spec/opensearch/1.1/")
)
{
+ kDebug() << "The file is not an OpenSearch 1.1 file: " << name();
raiseError(i18n("The file is not an OpenSearch 1.1 file."));
return engine;
}