Diffstat (limited to 'core/applets/batteryapplet/battery.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/batteryapplet/battery.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/applets/batteryapplet/battery.cpp b/core/applets/batteryapplet/battery.cpp index 3b64fb5..9a9ddf6 100644 --- a/core/applets/batteryapplet/battery.cpp +++ b/core/applets/batteryapplet/battery.cpp @@ -72,3 +72,3 @@ void BatteryMeter::mousePressEvent( QMouseEvent* e ) -void BatteryMeter::mouseReleaseEvent( QMouseEvent* e) +void BatteryMeter::mouseReleaseEvent( QMouseEvent* /*e*/ ) { @@ -112,3 +112,3 @@ void BatteryMeter::chargeTimeout() if ( percent > 100 ) - percent = 0; + percent = 0; @@ -116,3 +116,3 @@ void BatteryMeter::chargeTimeout() if ( batteryView ) - batteryView->updatePercent( percent ); + batteryView->updatePercent( percent ); } @@ -156,3 +156,3 @@ void BatteryMeter::paintEvent( QPaintEvent* ) - int extra = ((percent * h) % 100)/(100/4); + //int extra = ((percent * h) % 100)/(100/4); |