summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-27 02:53:46 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-27 02:53:46 +0300
commit64815b311e47395638a2bf5ea80f949526942570 (patch)
tree11d17054a6fbd8a779321d3bb0f1298144af248f /src/actions/actions.cpp
parent80bbbc4c18273e0d1116d7e924d1df068a5d63d5 (diff)
downloadplus-64815b311e47395638a2bf5ea80f949526942570.tar.gz
plus-64815b311e47395638a2bf5ea80f949526942570.tar.bz2
plus-64815b311e47395638a2bf5ea80f949526942570.tar.xz
plus-64815b311e47395638a2bf5ea80f949526942570.zip
Show counted memory usage sum in chat.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 1e7a9ad5b..9f7e5287a 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1786,7 +1786,10 @@ impHandler(seen)
impHandler0(dumpMemoryUsage)
{
- memoryManager.printAllMemory();
+ if (event.tab)
+ memoryManager.printAllMemory(event.tab);
+ else
+ memoryManager.printAllMemory(localChatTab);
return true;
}