[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [vidalia/alpha] Default data directory to Local instead of Roaming AppData



commit cc42ab6331437910ff57a2d38021fb8e7120b864
Author: Tomás Touceda <chiiph@xxxxxxxxxxxxxx>
Date:   Sun Dec 25 10:37:59 2011 -0300

    Default data directory to Local instead of Roaming AppData
---
 changes/bug2319      |    2 ++
 src/common/win32.cpp |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/changes/bug2319 b/changes/bug2319
new file mode 100644
index 0000000..fe6ee5b
--- /dev/null
+++ b/changes/bug2319
@@ -0,0 +1,2 @@
+  o Make the default data directory in windows be located in the Local
+    AppData instead of the Roaming one. Fixes bug 2319.
\ No newline at end of file
diff --git a/src/common/win32.cpp b/src/common/win32.cpp
index 814b5a1..931da7a 100644
--- a/src/common/win32.cpp
+++ b/src/common/win32.cpp
@@ -86,7 +86,7 @@ QString
 win32_app_data_folder()
 {
   return win32_get_folder_location(
-      CSIDL_APPDATA, QDir::homePath() + "\\Application Data");
+      CSIDL_LOCAL_APPDATA, QDir::homePath() + "\\Application Data");
 }
 
 /** Returns the value in keyName at keyLocation. 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits