-rw-r--r-- | core/applets/batteryapplet/battery.cpp | 4 |
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 @@ -64,3 +64,3 @@ void BatteryMeter::mousePressEvent( QMouseEvent* e ) c.writeEntry( "Style", style ); - repaint(); + repaint( true ); } @@ -99,3 +99,3 @@ void BatteryMeter::timerEvent( QTimerEvent * ) } - repaint(FALSE); + repaint( style != 0 ); if ( batteryView ) |