diff options
Diffstat (limited to 'linden/indra/newview/llpanelnetwork.cpp')
-rw-r--r-- | linden/indra/newview/llpanelnetwork.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llpanelnetwork.cpp b/linden/indra/newview/llpanelnetwork.cpp index b4ebe42..70d88d9 100644 --- a/linden/indra/newview/llpanelnetwork.cpp +++ b/linden/indra/newview/llpanelnetwork.cpp | |||
@@ -45,6 +45,7 @@ | |||
45 | #include "llviewerwindow.h" | 45 | #include "llviewerwindow.h" |
46 | 46 | ||
47 | // project includes | 47 | // project includes |
48 | #include "floatercache.h" | ||
48 | #include "llcheckboxctrl.h" | 49 | #include "llcheckboxctrl.h" |
49 | #include "hippogridmanager.h" | 50 | #include "hippogridmanager.h" |
50 | #include "lluictrlfactory.h" | 51 | #include "lluictrlfactory.h" |
@@ -267,9 +268,8 @@ void LLPanelNetwork::refresh() | |||
267 | // static | 268 | // static |
268 | void LLPanelNetwork::onClickClearDiskCache(void*) | 269 | void LLPanelNetwork::onClickClearDiskCache(void*) |
269 | { | 270 | { |
270 | // flag client cache for clearing next time the client runs | 271 | FloaterCache::getInstance()->open(); |
271 | gSavedSettings.setBOOL("PurgeCacheOnNextStartup", TRUE); | 272 | FloaterCache::getInstance()->center(); |
272 | LLNotifications::instance().add("CacheWillClear"); | ||
273 | } | 273 | } |
274 | 274 | ||
275 | // static | 275 | // static |