From 8986282c5a2e9af5f47e089e4c30aaa570fab7c8 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 29 Oct 2014 16:25:12 -0400 Subject: For the system tray, only have it make changes when doing the whole check: don't bother calling "update" on unchanged icons. --- lumina-desktop/panel-plugins/systemtray/LSysTray.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp b/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp index 157001c6..dacb7b55 100644 --- a/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp +++ b/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp @@ -186,9 +186,9 @@ void LSysTray::checkAll(){ this->setMaximumSize(10000, trayIcons.length()*this->width()); } }else{ - //Tray Icon already exists: just update it + //Tray Icon already exists //qDebug() << " - SysTray: Update Icon"; - trayIcons[i]->update(); + //trayIcons[i]->update(); wins.removeAt(index); //Already found - remove from the list } } -- cgit