From 6610dc38cfd9527038716821b5292d13d5f13ea7 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 21 Sep 2016 13:57:18 -0400 Subject: Have the internal QHash run "squeeze" after every update run - just to ensure it uses as little memory as possible. --- src-qt5/core/libLumina/LuminaXDG.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5/core/libLumina') 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 XDGDesktopList::apps(bool showAll, bool showHidden){ -- cgit