diff options
author | Ken Moore <ken@pcbsd.org> | 2015-05-21 14:07:19 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-05-21 14:07:19 -0400 |
commit | 9bac005535ff56a85563f9aa053fd9b1305178de (patch) | |
tree | 443907817b10c1b4cea4271555e5c01b13dec539 /lumina-desktop/panel-plugins/systemtray/LSysTray.h | |
parent | Add a routine to ensure that all the tray icons get repainted when the main t... (diff) | |
download | lumina-9bac005535ff56a85563f9aa053fd9b1305178de.tar.gz lumina-9bac005535ff56a85563f9aa053fd9b1305178de.tar.bz2 lumina-9bac005535ff56a85563f9aa053fd9b1305178de.zip |
Remove the extra painting check/update routine for the system tray - send it into a loop and causes high Xorg/CPU usage.
Diffstat (limited to 'lumina-desktop/panel-plugins/systemtray/LSysTray.h')
-rw-r--r-- | lumina-desktop/panel-plugins/systemtray/LSysTray.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-desktop/panel-plugins/systemtray/LSysTray.h b/lumina-desktop/panel-plugins/systemtray/LSysTray.h index 28e2702c..e189b729 100644 --- a/lumina-desktop/panel-plugins/systemtray/LSysTray.h +++ b/lumina-desktop/panel-plugins/systemtray/LSysTray.h @@ -77,14 +77,14 @@ public slots: } protected: - void paintEvent(QPaintEvent *event){ + /*void paintEvent(QPaintEvent *event){ //Also repaint all the tray icons for(int i=0; i<trayIcons.length(); i++){ trayIcons[i]->update(); } //Now pass the event on to the normal routine LPPlugin::paintEvent(event); - } + }*/ }; #endif |