diff --git a/src/GUI/gui.cpp b/src/GUI/gui.cpp index 5592ebe6..c0c5a16f 100644 --- a/src/GUI/gui.cpp +++ b/src/GUI/gui.cpp @@ -1879,9 +1879,11 @@ void GUI::writeSettings() if (_options.showSecondarySpeed != SHOW_SECONDARY_SPEED_DEFAULT) settings.setValue(SHOW_SECONDARY_SPEED_SETTING, _options.showSecondarySpeed); +#ifdef ENABLE_TIMEZONES if (_options.timeZone != TimeZoneInfo()) settings.setValue(TIME_ZONE_SETTING, QVariant::fromValue( _options.timeZone)); +#endif // ENABLE_TIMEZONES if (_options.poiRadius != POI_RADIUS_DEFAULT) settings.setValue(POI_RADIUS_SETTING, _options.poiRadius); if (_options.useOpenGL != USE_OPENGL_DEFAULT)