aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2016-09-21 13:57:18 -0400
committerKen Moore <ken@pcbsd.org>2016-09-21 13:57:18 -0400
commit6610dc38cfd9527038716821b5292d13d5f13ea7 (patch)
tree5e49ee9e33be4a5460f85bb6abf0f876a0ddf855 /src-qt5/core/libLumina
parentAnother small fix to try and correct the memory leak. (diff)
downloadlumina-6610dc38cfd9527038716821b5292d13d5f13ea7.tar.gz
lumina-6610dc38cfd9527038716821b5292d13d5f13ea7.tar.bz2
lumina-6610dc38cfd9527038716821b5292d13d5f13ea7.zip
Have the internal QHash run "squeeze" after every update run - just to ensure it uses as little memory as possible.
Diffstat (limited to 'src-qt5/core/libLumina')
-rw-r--r--src-qt5/core/libLumina/LuminaXDG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/LuminaXDG.cpp b/src-qt5/core/libLumina/LuminaXDG.cpp
index b57738c1..e500ab7e 100644
--- a/src-qt5/core/libLumina/LuminaXDG.cpp
+++ b/src-qt5/core/libLumina/LuminaXDG.cpp
@@ -89,7 +89,7 @@ void XDGDesktopList::updateList(){
if(appschanged){ emit appsUpdated(); }
synctimer->start();
}
-
+ files.squeeze(); //make sure this class uses as little memory as possible (should not be needed - but just in case...)
}
QList<XDGDesktop> XDGDesktopList::apps(bool showAll, bool showHidden){
bgstack15