summarylogtreecommitdiffstats
path: root/revert_xdg_config_path.patch
blob: 570faffef41832e03eb9f6adcf75b1d5db00b879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/FreeFileSync/Source/base/ffs_paths.cpp	2019-06-13 20:39:40.000000000 +0200
+++ b/FreeFileSync/Source/base/ffs_paths.cpp	2019-06-17 08:28:10.960031518 +0200
@@ -73,9 +73,6 @@
     ZEN_ON_SCOPE_EXIT(wxTheApp->SetAppName(appName));
 
-    Zstring cfgFolderPath;
-    //OS standard path (XDG layout): ~/.config/FreeFileSync
-    //wxBug: wxStandardPaths::GetUserDataDir() does not honor FileLayout_XDG flag
-    wxStandardPaths::Get().SetFileLayout(wxStandardPaths::FileLayout_XDG);
-    cfgFolderPath = appendSeparator(utfTo<Zstring>(wxStandardPaths::Get().GetUserConfigDir())) + "FreeFileSync";
+    //OS standard path (classic layout): ~/.FreeFileSync
+    Zstring cfgFolderPath = utfTo<Zstring>(wxStandardPaths::Get().GetUserDataDir());