diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpanelnetwork.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llpanelnetwork.cpp b/linden/indra/newview/llpanelnetwork.cpp index b4ebe42..a867a9c 100644 --- a/linden/indra/newview/llpanelnetwork.cpp +++ b/linden/indra/newview/llpanelnetwork.cpp | |||
@@ -306,7 +306,7 @@ void LLPanelNetwork::onClickResetDiskCache(void* user_data) | |||
306 | LLPanelNetwork* self = (LLPanelNetwork*)user_data; | 306 | LLPanelNetwork* self = (LLPanelNetwork*)user_data; |
307 | if (!gSavedSettings.getString("CacheLocation").empty()) | 307 | if (!gSavedSettings.getString("CacheLocation").empty()) |
308 | { | 308 | { |
309 | gSavedSettings.setString("NewCacheLocation", ""); | 309 | gSavedSettings.setString("NewCacheLocation", gDirUtilp->getCacheDir(true)); |
310 | LLNotifications::instance().add("CacheWillBeMoved"); | 310 | LLNotifications::instance().add("CacheWillBeMoved"); |
311 | } | 311 | } |
312 | std::string cache_location = gDirUtilp->getCacheDir(true); | 312 | std::string cache_location = gDirUtilp->getCacheDir(true); |