subsurface/desktop-widgets/preferences
Lubomir I. Ivanov a7d8e0d187 googlemaps: clear the cache folder on language change
Open the cache folder via QDir and call removeRecursively().
At that point the user needs to restart Subsurface to be able to
use the map in another language properly.

This change is triggered by the fact that the user might want to see
the street map in his preferred language after he/she picks another
language from Settings. But one problem here is that the cached files
do not carry a language flag - e.g. they are in the lines of:
    googlemaps_100-1-9-445-245.png

Which means that the only way to not mix tiles in different languages
is to clear the cache and start downloading the new tiles in the newly
picked language after Subsurface has restarted.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2017-09-04 07:41:21 -07:00
..
abstractpreferenceswidget.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
abstractpreferenceswidget.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
CMakeLists.txt Don't rely on CMAKE_AUTOUIC 2015-11-09 18:00:56 -08:00
preferences_defaults.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
preferences_defaults.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
preferences_defaults.ui Restore proper spin-box/slider behavior for animation setting. 2015-11-15 22:22:34 -08:00
preferences_georeference.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
preferences_georeference.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
preferences_graph.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
preferences_graph.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
preferences_graph.ui UI: preferences-profile screen beautify 2017-03-29 13:21:50 +02:00
preferences_language.cpp googlemaps: clear the cache folder on language change 2017-09-04 07:41:21 -07:00
preferences_language.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
preferences_network.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
preferences_network.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
preferences_network.ui Re-add the signal connections 2015-11-04 17:24:31 -08:00
preferences_units.cpp Wire up duration units preference UI 2017-05-06 13:49:36 -07:00
preferences_units.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
preferences_units.ui Add UI for duration preference 2017-05-06 13:11:04 -07:00
preferencesdialog.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
preferencesdialog.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
prefs_georeference.ui Preferences: add GeoReference 2015-10-30 10:36:50 -07:00
prefs_language.ui Preferences: add date and time format to language page 2015-11-02 12:51:31 -08:00