1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-06-27 11:39:16 +02:00

Split the config header to config+hash headers

This commit is contained in:
2023-01-26 01:11:56 +01:00
parent 51511a9bf9
commit af3e5d41c2
15 changed files with 30 additions and 26 deletions

View File

@ -28,10 +28,10 @@ App::App(int &argc, char **argv) : QApplication(argc, argv)
#endif
setApplicationVersion(APP_VERSION);
QTranslator *gpxsee = new QTranslator(this);
if (gpxsee->load(QLocale::system(), "gpxsee", "_",
QTranslator *app = new QTranslator(this);
if (app->load(QLocale::system(), "gpxsee", "_",
ProgramPaths::translationsDir()))
installTranslator(gpxsee);
installTranslator(app);
QTranslator *qt = new QTranslator(this);
#if defined(Q_OS_WIN32) || defined(Q_OS_MAC)

View File

@ -26,6 +26,7 @@
#include <QStyle>
#include <QTabBar>
#include <QGeoPositionInfoSource>
#include "common/config.h"
#include "common/programpaths.h"
#include "common/downloader.h"
#include "data/data.h"

View File

@ -7,7 +7,6 @@
#include <QList>
#include <QFlags>
#include "common/rectc.h"
#include "common/config.h"
#include "data/waypoint.h"
#include "map/projection.h"
#include "searchpointer.h"

View File

@ -1,7 +1,7 @@
#ifndef SEARCHPOINTER_H
#define SEARCHPOINTER_H
#include "common/config.h"
#include "common/hash.h"
template <class T>
class SearchPointer