diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2016-01-04 14:38:51 +0100 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2016-01-04 14:38:51 +0100 |
| commit | ebd1004eed7e90081808168da937381a54f577fb (patch) | |
| tree | eabb31fa115b4a41be2faaf4fcc1ee23f6db1edf | |
| parent | 05011ecce5da659f36a0abea79f1a96d24703801 (diff) | |
Fix store search query. Refs PR #93
| -rw-r--r-- | app/pebblestoreview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/pebblestoreview.cpp b/app/pebblestoreview.cpp index 17d690f..6174bc6 100644 --- a/app/pebblestoreview.cpp +++ b/app/pebblestoreview.cpp @@ -85,7 +85,7 @@ void PebbleStoreView::gotoWatchApps() void PebbleStoreView::searchQuery(QString query) { QString baseUrl = this->storeConfigObject.value("webviews").toObject().value("appstore/search/query").toString(); - baseUrl = baseUrl.replace("?q", "?query"); //fix wrong param name + baseUrl = baseUrl.replace("?q=", "&query="); //fix wrong param name baseUrl = baseUrl.replace("$$query$$", query); setUrl(prepareUrl(baseUrl)); } |
