1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-27 21:24:47 +01:00

Code cleanup

This commit is contained in:
Martin Tůma 2022-06-02 18:35:27 +02:00
parent 7ba19b8c0a
commit 7bd03494db
3 changed files with 3 additions and 3 deletions

View File

@ -2477,8 +2477,8 @@ void GUI::writeSettings()
settings.setValue(SHOW_TICKS_SETTING, settings.setValue(SHOW_TICKS_SETTING,
_showTicksAction->isChecked()); _showTicksAction->isChecked());
bool sm = _showMarkersAction->isChecked() bool sm = _showMarkersAction->isChecked()
| _showMarkerDateAction->isChecked() || _showMarkerDateAction->isChecked()
| _showMarkerCoordinatesAction->isChecked(); || _showMarkerCoordinatesAction->isChecked();
if (sm != SHOW_MARKERS_DEFAULT) if (sm != SHOW_MARKERS_DEFAULT)
settings.setValue(SHOW_MARKERS_SETTING, sm); settings.setValue(SHOW_MARKERS_SETTING, sm);
if (_showMarkerDateAction->isChecked() if (_showMarkerDateAction->isChecked()

View File

@ -1,4 +1,5 @@
#include <QPainter> #include <QPainter>
#include <QPixmapCache>
#include "common/wgs84.h" #include "common/wgs84.h"
#include "pcs.h" #include "pcs.h"
#include "rectd.h" #include "rectd.h"

View File

@ -2,7 +2,6 @@
#define MAPSFORGEMAP_H #define MAPSFORGEMAP_H
#include <QtConcurrent> #include <QtConcurrent>
#include <QPixmapCache>
#include "mapsforge/mapdata.h" #include "mapsforge/mapdata.h"
#include "mapsforge/rastertile.h" #include "mapsforge/rastertile.h"
#include "projection.h" #include "projection.h"