]> git.lyx.org Git - lyx.git/commitdiff
use QStandardPaths::GenericDataLocation instead of QStandardPaths::DataLocation to...
authorStephan Witt <switt@lyx.org>
Sun, 24 Jan 2016 14:19:54 +0000 (15:19 +0100)
committerStephan Witt <switt@lyx.org>
Sun, 24 Jan 2016 14:19:54 +0000 (15:19 +0100)
src/support/Package.cpp

index de06c19d60cb73b10ce2e30beb75f261af7c12e9..1fd47eca6880cdea39b09b6f7926f3ac88e7c415 100644 (file)
@@ -691,7 +691,7 @@ FileName const get_default_user_support_dir(FileName const & home_dir)
 
 #elif defined (USE_MACOSX_PACKAGING) && (QT_VERSION >= 0x050000)
        (void)home_dir; // Silence warning about unused variable.
-       return FileName(addPath(fromqstr(QStandardPaths::writableLocation(QStandardPaths::DataLocation)), PACKAGE));
+       return FileName(addPath(fromqstr(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation)), PACKAGE));
 
 #elif defined (USE_MACOSX_PACKAGING)
        (void)home_dir; // Silence warning about unused variable.