mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Yet another code cleanup
This commit is contained in:
parent
0b4ee95591
commit
d1bf74f43b
@ -8,6 +8,7 @@
|
||||
#define FONT_FAMILY "Arial"
|
||||
#define FONT_SIZE 12
|
||||
|
||||
#define THIN_SPACE QString::fromUtf8("\xE2\x80\x89")
|
||||
#define TILES_DIR "tiles"
|
||||
#define MAP_LIST_FILE TILES_DIR"/list.txt"
|
||||
|
||||
#endif /* CONFIG_H */
|
||||
|
@ -10,6 +10,8 @@
|
||||
#include "colorshop.h"
|
||||
|
||||
|
||||
#define THIN_SPACE QString::fromUtf8("\xE2\x80\x89")
|
||||
|
||||
class SliderItem;
|
||||
class SliderInfoItem;
|
||||
class InfoItem;
|
||||
|
@ -73,8 +73,7 @@ GUI::GUI()
|
||||
|
||||
void GUI::loadMaps()
|
||||
{
|
||||
_maps = MapList::load(QString("%1/"TILES_DIR"/"LIST_FILE)
|
||||
.arg(QDir::homePath()));
|
||||
_maps = MapList::load(QString("%1/"MAP_LIST_FILE).arg(QDir::homePath()));
|
||||
}
|
||||
|
||||
void GUI::createMapActions()
|
||||
|
@ -2,6 +2,7 @@
|
||||
#include <QDir>
|
||||
#include "downloader.h"
|
||||
#include "ll.h"
|
||||
#include "config.h"
|
||||
#include "map.h"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user