mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Fixed build with Qt < 5.2
This commit is contained in:
parent
0fb5d8dae6
commit
54467e6d45
@ -1879,9 +1879,11 @@ void GUI::writeSettings()
|
|||||||
if (_options.showSecondarySpeed != SHOW_SECONDARY_SPEED_DEFAULT)
|
if (_options.showSecondarySpeed != SHOW_SECONDARY_SPEED_DEFAULT)
|
||||||
settings.setValue(SHOW_SECONDARY_SPEED_SETTING,
|
settings.setValue(SHOW_SECONDARY_SPEED_SETTING,
|
||||||
_options.showSecondarySpeed);
|
_options.showSecondarySpeed);
|
||||||
|
#ifdef ENABLE_TIMEZONES
|
||||||
if (_options.timeZone != TimeZoneInfo())
|
if (_options.timeZone != TimeZoneInfo())
|
||||||
settings.setValue(TIME_ZONE_SETTING, QVariant::fromValue(
|
settings.setValue(TIME_ZONE_SETTING, QVariant::fromValue(
|
||||||
_options.timeZone));
|
_options.timeZone));
|
||||||
|
#endif // ENABLE_TIMEZONES
|
||||||
if (_options.poiRadius != POI_RADIUS_DEFAULT)
|
if (_options.poiRadius != POI_RADIUS_DEFAULT)
|
||||||
settings.setValue(POI_RADIUS_SETTING, _options.poiRadius);
|
settings.setValue(POI_RADIUS_SETTING, _options.poiRadius);
|
||||||
if (_options.useOpenGL != USE_OPENGL_DEFAULT)
|
if (_options.useOpenGL != USE_OPENGL_DEFAULT)
|
||||||
|
Loading…
Reference in New Issue
Block a user