mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Code cleanup
This commit is contained in:
parent
7ba19b8c0a
commit
7bd03494db
@ -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()
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user