summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-25 17:51:10 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-25 17:51:10 +0300
commitfc52464414c7e77e77c3f08a089ad0ad5a350c71 (patch)
tree1701a08fb670fbeca6a1a01a0a521b7a54d3fb00 /src/resources
parent76d29de34885538c1e906d9756e677d668d49fe0 (diff)
downloadmv-fc52464414c7e77e77c3f08a089ad0ad5a350c71.tar.gz
mv-fc52464414c7e77e77c3f08a089ad0ad5a350c71.tar.bz2
mv-fc52464414c7e77e77c3f08a089ad0ad5a350c71.tar.xz
mv-fc52464414c7e77e77c3f08a089ad0ad5a350c71.zip
Fix stats page removing while switching servers.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/db/statdb.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/db/statdb.cpp b/src/resources/db/statdb.cpp
index ac5aed781..abb387711 100644
--- a/src/resources/db/statdb.cpp
+++ b/src/resources/db/statdb.cpp
@@ -230,5 +230,6 @@ void StatDb::unload()
mBasicStats.clear();
mStats.clear();
+ mPages.clear();
mLoaded = false;
}