diff options
author | Rohan Garg <rohangarg@gmail.com> | 2011-01-12 04:01:02 +0530 |
---|---|---|
committer | Rohan Garg <rohangarg@gmail.com> | 2011-01-12 04:01:02 +0530 |
commit | 3dbfc06247db3c62a73f1f3022b648197ae24a00 (patch) | |
tree | 737dc5226e9e710cd63de3559038eecd334035ef /src/opensearch | |
parent | string improvements in the tab settings page (diff) | |
download | rekonq-3dbfc06247db3c62a73f1f3022b648197ae24a00.tar.xz |
Krazy Fixes!!
Add #rekonq_define.h to files that now use QL1C
Diffstat (limited to 'src/opensearch')
-rw-r--r-- | src/opensearch/opensearchengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opensearch/opensearchengine.cpp b/src/opensearch/opensearchengine.cpp index 37685fb5..ef0f3f74 100644 --- a/src/opensearch/opensearchengine.cpp +++ b/src/opensearch/opensearchengine.cpp @@ -58,7 +58,7 @@ QString OpenSearchEngine::parseTemplate(const QString &searchTerm, const QString // Simple conversion to RFC 3066. language = language.replace(QL1C('_'), QL1C('-')); QString country = language; - country = (country.replace(0, country.indexOf("-")+1, "")).toLower(); + country = (country.remove(0, country.indexOf(QL1C('-'))+1)).toLower(); const int firstDashPosition = country.indexOf(QL1C('-')); if (firstDashPosition >= 0) country = country.mid(firstDashPosition+1); |