From b736b50c57a95cb16d0c32787bac66492b9f4040 Mon Sep 17 00:00:00 2001 From: Pierre Grandin Date: Sat, 30 Sep 2017 12:24:55 -0700 Subject: Use update path for icons assets --- navit/gui/qt5_qml/backend.cpp | 8 ++++---- 1 file 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)); } -- cgit v1.2.1