[tor-commits] [vidalia/alpha] Default data directory to Local instead of Roaming AppData
chiiph at torproject.org
chiiph at torproject.org
Sun Dec 25 13:53:44 UTC 2011
commit cc42ab6331437910ff57a2d38021fb8e7120b864
Author: Tomás Touceda <chiiph at torproject.org>
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.
More information about the tor-commits
mailing list