aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/panel-plugins/systemtray/LSysTray.cpp')
-rw-r--r--lumina-desktop/panel-plugins/systemtray/LSysTray.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp b/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp
index 220c7858..05c601e1 100644
--- a/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp
+++ b/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp
@@ -150,8 +150,9 @@ void LSysTray::UpdateTrayWindow(WId win){
for(int i=0; i<trayIcons.length(); i++){
if(trayIcons[i]->appID()==win){
qDebug() << "System Tray: Update Window " << win;
- trayIcons[i]->update();
- QTimer::singleShot(1000, trayIcons[i], SLOT(update()) );
+ trayIcons[i]->repaint(); //don't use update() because we need an instant repaint (not a cached version)
+ //QTimer::singleShot(10, trayIcons[i], SLOT(repaint()) ); //re-paint in 10ms (give it a moment to settle)
+ //QTimer::singleShot(1000, trayIcons[i], SLOT(update()) );
return; //finished now
}
}
bgstack15