Hi,
in that case, the fix is simple: |
From d47014986b7eb5264fe589d645bccd77e45d4dee Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" <[email protected]> Date: Sun, 14 Jun 2015 08:28:57 +0200 Subject: [PATCH] Work around QStandardPaths::AppDataLocation broken in 5.4.0
As the path to be in the user's directory is being fixed in 5.4.1 this should solve the problem of subsurface not being able to save its data on Mac. Signed-off-by: Robert C. Helling <[email protected]> --- qthelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qthelper.cpp b/qthelper.cpp index 5434bcd..65e64ab 100644 --- a/qthelper.cpp +++ b/qthelper.cpp @@ -355,7 +355,7 @@ extern "C" const char *system_default_directory(void) if (!*filename) { enum QStandardPaths::StandardLocation location; -#if QT_VERSION >= 0x050400 +#if QT_VERSION >= 0x050401 location = QStandardPaths::AppDataLocation; #else location = QStandardPaths::DataLocation; -- 1.9.5 (Apple Git-50.3)
Best Robert |
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
