aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelnetwork.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpanelnetwork.cpp')
-rw-r--r--linden/indra/newview/llpanelnetwork.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llpanelnetwork.cpp b/linden/indra/newview/llpanelnetwork.cpp
index 2edd1a1..ec0b6ee 100644
--- a/linden/indra/newview/llpanelnetwork.cpp
+++ b/linden/indra/newview/llpanelnetwork.cpp
@@ -127,7 +127,7 @@ void LLPanelNetwork::onClickResetCache(void* user_data)
127 LLPanelNetwork* self = (LLPanelNetwork*)user_data; 127 LLPanelNetwork* self = (LLPanelNetwork*)user_data;
128 if (!gSavedSettings.getString("CacheLocation").empty()) 128 if (!gSavedSettings.getString("CacheLocation").empty())
129 { 129 {
130 gSavedSettings.setString("NewCacheLocation", ""); 130 gSavedSettings.setString("NewCacheLocation", gDirUtilp->getCacheDir(true));
131 LLNotifications::instance().add("CacheWillBeMoved"); 131 LLNotifications::instance().add("CacheWillBeMoved");
132 } 132 }
133 std::string cache_location = gDirUtilp->getCacheDir(true); 133 std::string cache_location = gDirUtilp->getCacheDir(true);