diff options
Diffstat (limited to 'src/opensearch')
-rw-r--r-- | src/opensearch/opensearchengine.h | 2 | ||||
-rw-r--r-- | src/opensearch/opensearchreader.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/opensearch/opensearchengine.h b/src/opensearch/opensearchengine.h index a3ecf59f..c05501fb 100644 --- a/src/opensearch/opensearchengine.h +++ b/src/opensearch/opensearchengine.h @@ -48,6 +48,8 @@ class OpenSearchEngine : public QObject { + Q_OBJECT + public: typedef QPair<QString, QString> Parameter; diff --git a/src/opensearch/opensearchreader.cpp b/src/opensearch/opensearchreader.cpp index aff9ff36..a111854c 100644 --- a/src/opensearch/opensearchreader.cpp +++ b/src/opensearch/opensearchreader.cpp @@ -153,7 +153,7 @@ OpenSearchEngine *OpenSearchReader::read() else { if (engine->suggestionsUrlTemplate().isEmpty() - && type == QL1S("application/x-suggestions+json")) //note: xml is prefered + && type == QL1S("application/x-suggestions+json")) //note: xml is preferred { engine->setSuggestionsUrlTemplate(url); engine->setSuggestionsParameters(parameters); |