From 9bac005535ff56a85563f9aa053fd9b1305178de Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 21 May 2015 14:07:19 -0400 Subject: Remove the extra painting check/update routine for the system tray - send it into a loop and causes high Xorg/CPU usage. --- lumina-desktop/panel-plugins/systemtray/LSysTray.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lumina-desktop/panel-plugins') 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; iupdate(); } //Now pass the event on to the normal routine LPPlugin::paintEvent(event); - } + }*/ }; #endif -- cgit