aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2014-10-29 16:25:12 -0400
committerKen Moore <ken@pcbsd.org>2014-10-29 16:25:12 -0400
commit8986282c5a2e9af5f47e089e4c30aaa570fab7c8 (patch)
treed4385c99817513a61d243016449f74c6c2557f1f /lumina-desktop/panel-plugins/systemtray/LSysTray.cpp
parentTag Lumina version 0.7.1: (diff)
downloadlumina-8986282c5a2e9af5f47e089e4c30aaa570fab7c8.tar.gz
lumina-8986282c5a2e9af5f47e089e4c30aaa570fab7c8.tar.bz2
lumina-8986282c5a2e9af5f47e089e4c30aaa570fab7c8.zip
For the system tray, only have it make changes when doing the whole check: don't bother calling "update" on unchanged icons.
Diffstat (limited to 'lumina-desktop/panel-plugins/systemtray/LSysTray.cpp')
-rw-r--r--lumina-desktop/panel-plugins/systemtray/LSysTray.cpp4
1 files 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
}
}
bgstack15