aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/systemtray
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/panel-plugins/systemtray')
-rw-r--r--lumina-desktop/panel-plugins/systemtray/LSysTray.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lumina-desktop/panel-plugins/systemtray/LSysTray.h b/lumina-desktop/panel-plugins/systemtray/LSysTray.h
index 2f7872b3..28e2702c 100644
--- a/lumina-desktop/panel-plugins/systemtray/LSysTray.h
+++ b/lumina-desktop/panel-plugins/systemtray/LSysTray.h
@@ -75,6 +75,16 @@ public slots:
trayIcons[i]->repaint();
}
}
+
+protected:
+ 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
bgstack15