summaryrefslogtreecommitdiff
path: root/navit/gui/qml/searchProxy.h
diff options
context:
space:
mode:
authorjandegr <jandegr@users.noreply.github.com>2018-05-02 10:02:46 +0200
committerGitHub <noreply@github.com>2018-05-02 10:02:46 +0200
commitde4680665398c523dfaa0879c18b0f6e39264d57 (patch)
tree5769f2076e6e041c07ad7fd6fa052ae0b8e5b914 /navit/gui/qml/searchProxy.h
parent53315091a2aa5a4469a743f29516cc1ae78b6b14 (diff)
parenta9f61c26e31eca52b1bf1a444f6283bb26bc2391 (diff)
downloadnavit-de4680665398c523dfaa0879c18b0f6e39264d57.tar.gz
Merge branch 'trunk' into Android_gradleAndroid_gradle
Diffstat (limited to 'navit/gui/qml/searchProxy.h')
-rw-r--r--navit/gui/qml/searchProxy.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/gui/qml/searchProxy.h b/navit/gui/qml/searchProxy.h
index 579ac3dac..16f79a2a3 100644
--- a/navit/gui/qml/searchProxy.h
+++ b/navit/gui/qml/searchProxy.h
@@ -33,7 +33,7 @@ public:
item=country_search_get_item(cs);
if (item && item_attr_get(item, attr_country_name, &country_name)) {
search_attr.type=attr_country_all;
- dbg(lvl_debug,"country %s\n", country_name.u.str);
+ dbg(lvl_debug,"country %s", country_name.u.str);
this->country_name=QString::fromLocal8Bit(country_name.u.str);
search_attr.u.str=country_name.u.str;
search_list_search(this->sl, &search_attr, 0);
@@ -44,9 +44,9 @@ public:
}
country_search_destroy(cs);
} else {
- dbg(lvl_error,"warning: no default country found\n");
+ dbg(lvl_error,"warning: no default country found");
if (!this->country_iso2.isEmpty()) {
- dbg(lvl_debug,"attempting to use country '%s'\n",this->country_iso2.toStdString().c_str());
+ dbg(lvl_debug,"attempting to use country '%s'",this->country_iso2.toStdString().c_str());
search_attr.type=attr_country_iso2;
search_attr.u.str=(char*)this->country_iso2.toStdString().c_str();
search_list_search(this->sl, &search_attr, 0);