diff options
Diffstat (limited to 'lumina-desktop/panel-plugins/systemtray')
-rw-r--r-- | lumina-desktop/panel-plugins/systemtray/LSysTray.h | 10 |
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 |