Files
haikuports/sci-geosciences/gpxlab/patches/gpxlab-0.6.0.patchset
2019-08-26 18:53:42 +03:00

23 lines
750 B
Plaintext

From 746daf45e9f22964a16b3156805a14e392483675 Mon Sep 17 00:00:00 2001
From: Nikolay Korotkiy <sikmir@gmail.com>
Date: Mon, 29 Oct 2018 11:36:47 +0000
Subject: Fix TRANSLATIONS_DIR
diff --git a/GPXLab/main.cpp b/GPXLab/main.cpp
index 3401345..17a0da8 100644
--- a/GPXLab/main.cpp
+++ b/GPXLab/main.cpp
@@ -24,6 +24,8 @@
# define TRANSLATIONS_DIR QApplication::applicationDirPath() + QString("/translations")
#elif defined(Q_OS_MAC)
# define TRANSLATIONS_DIR QApplication::applicationDirPath() + QString("/../Resources/translations")
+#elif defined(Q_OS_HAIKU)
+# define TRANSLATIONS_DIR QApplication::applicationDirPath() + QString("/translations")
#else
# define TRANSLATIONS_DIR QString("/usr/share/gpxlab/translations")
#endif
--
2.19.1