1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Fixed Android build

This commit is contained in:
Martin Tůma 2023-04-14 00:04:09 +02:00
parent dc799f4642
commit 53c6f08af5

View File

@ -70,8 +70,8 @@ QString ProgramPaths::crsDir(bool writable)
.filePath(CRS_DIR); .filePath(CRS_DIR);
else else
#ifdef Q_OS_ANDROID #ifdef Q_OS_ANDROID
return assetsPath(QStandardPaths::locate(DATA_LOCATION, CSV_DIR, return assetsPath(QStandardPaths::locate(DATA_LOCATION, CRS_DIR,
QStandardPaths::LocateDirectory), CSV_DIR); QStandardPaths::LocateDirectory), CRS_DIR);
#else // Q_OS_ANDROID #else // Q_OS_ANDROID
return QStandardPaths::locate(DATA_LOCATION, CRS_DIR, return QStandardPaths::locate(DATA_LOCATION, CRS_DIR,
QStandardPaths::LocateDirectory); QStandardPaths::LocateDirectory);