summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Grandin <grandinp@gmail.com>2017-09-30 12:24:55 -0700
committerPierre Grandin <grandinp@gmail.com>2017-09-30 12:24:55 -0700
commitb736b50c57a95cb16d0c32787bac66492b9f4040 (patch)
treed0eab23e6182aabfca946f4c409ab73b23713143
parent011ee62c6bb3db79296eae113e5855e6c8f5f0e0 (diff)
downloadnavit-qt5_qml_gui.tar.gz
Use update path for icons assetsqt5_qml_gui
-rw-r--r--navit/gui/qt5_qml/backend.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/navit/gui/qt5_qml/backend.cpp b/navit/gui/qt5_qml/backend.cpp
index 6d903fa47..395fff425 100644
--- a/navit/gui/qt5_qml/backend.cpp
+++ b/navit/gui/qt5_qml/backend.cpp
@@ -409,12 +409,12 @@ void Backend::setCurrentVehicle(int index) {
}
/**
- * @brief returns the icon (xpm) absolute path
+ * @brief returns the icon absolute path
* @param none
- * @returns the icon (xpm) absolute path as a QString
+ * @returns the icon absolute path as a QString
*/
QString Backend::get_icon_path(){
- return QString(g_strjoin(NULL,"file://",getenv("NAVIT_SHAREDIR"),"/xpm/",NULL));
+ return QString(g_strjoin(NULL,"file://",getenv("NAVIT_SHAREDIR"),"/icons/",NULL));
}
/**
@@ -468,7 +468,7 @@ QString Backend::get_country_icon(char * country_iso_code){
// if ( country_iso_code == "" ) {
// country_iso_code = _country_iso2;
// }
- return QString(g_strjoin(NULL,"file://",getenv("NAVIT_SHAREDIR"),"/xpm/",country_iso_code,".svg",NULL));
+ return QString(g_strjoin(NULL,"file://",getenv("NAVIT_SHAREDIR"),"/icons/",country_iso_code,".svg",NULL));
}