1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00

A better current path macro

This commit is contained in:
Martin Tůma 2023-02-01 09:41:18 +01:00
parent 505f01a990
commit 973abedf3e

View File

@ -10,7 +10,7 @@
(QGeoPositionInfoSource::availableSources().isEmpty() \
? "" : QGeoPositionInfoSource::availableSources().first())
#define CURRENT_PATH(filename) \
QString("%1/" filename).arg(QDir::currentPath())
QDir::current().filePath(filename)
#define WINDOW_SETTINGS_GROUP "Window"