mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
a7d8e0d187
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> |
||
---|---|---|
.. | ||
abstractpreferenceswidget.cpp | ||
abstractpreferenceswidget.h | ||
CMakeLists.txt | ||
preferences_defaults.cpp | ||
preferences_defaults.h | ||
preferences_defaults.ui | ||
preferences_georeference.cpp | ||
preferences_georeference.h | ||
preferences_graph.cpp | ||
preferences_graph.h | ||
preferences_graph.ui | ||
preferences_language.cpp | ||
preferences_language.h | ||
preferences_network.cpp | ||
preferences_network.h | ||
preferences_network.ui | ||
preferences_units.cpp | ||
preferences_units.h | ||
preferences_units.ui | ||
preferencesdialog.cpp | ||
preferencesdialog.h | ||
prefs_georeference.ui | ||
prefs_language.ui |