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 15eb762..4adcab4 100644
--- a/core/applets/batteryapplet/battery.cpp
+++ b/core/applets/batteryapplet/battery.cpp
@@ -92,3 +92,3 @@ void BatteryMeter::timerEvent( QTimerEvent * )
percent = ps->batteryPercentRemaining();
- if ( !charging && ps->batteryStatus() == PowerStatus::Charging && percent < 0 ) {
+ if ( !charging && ps->batteryStatus() == PowerStatus::Charging ) {
percent = 0;
@@ -121,3 +121,3 @@ void BatteryMeter::paintEvent( QPaintEvent* )
{
- qWarning("paint");
+
if ( style == 1 )