summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/batteryapplet/battery.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/applets/batteryapplet/battery.cpp b/core/applets/batteryapplet/battery.cpp
index eee3ed3..078ce8d 100644
--- a/core/applets/batteryapplet/battery.cpp
+++ b/core/applets/batteryapplet/battery.cpp
@@ -63,5 +63,5 @@ void BatteryMeter::mousePressEvent( QMouseEvent* e )
c.setGroup( "Battery" );
c.writeEntry( "Style", style );
- repaint();
+ repaint( true );
}
QWidget::mousePressEvent( e );
@@ -98,5 +98,5 @@ void BatteryMeter::timerEvent( QTimerEvent * )
batteryView->updatePercent( percent );
}
- repaint(FALSE);
+ repaint( style != 0 );
if ( batteryView )
batteryView->repaint();