diff options
author | Ken Moore <ken@pcbsd.org> | 2014-10-29 16:25:12 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2014-10-29 16:25:12 -0400 |
commit | 8986282c5a2e9af5f47e089e4c30aaa570fab7c8 (patch) | |
tree | d4385c99817513a61d243016449f74c6c2557f1f /lumina-desktop/panel-plugins/systemtray | |
parent | Tag Lumina version 0.7.1: (diff) | |
download | lumina-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')
-rw-r--r-- | lumina-desktop/panel-plugins/systemtray/LSysTray.cpp | 4 |
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 } } |