Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed coding style

  • Loading branch information...
commit 1db853edb7b703300fb295902fd592b52134f174 1 parent aeca24b
Mohammad Abu-Garbeyyeh authored July 27, 2012
4  src/systemui/statusarea/statusindicator.cpp
@@ -382,10 +382,10 @@ BatteryPercentageStatusIndicator::~BatteryPercentageStatusIndicator()
382 382
 void BatteryPercentageStatusIndicator::batteryPercentageChanged()
383 383
 {
384 384
     bool displayPercentageEnabled = displayPercentage->value(false).toBool();
385  
-    if(displayPercentageEnabled) {
  385
+    if (displayPercentageEnabled) {
386 386
         setStyleNameAndUpdate(QString(metaObject()->className()));
387 387
         connect(batteryPercentage, SIGNAL(contentsChanged()), this, SLOT(batteryPercentageChanged()), Qt::UniqueConnection);
388  
-    }else {
  388
+    } else {
389 389
         setStyleNameAndUpdate(QString(metaObject()->className())+"Disabled");
390 390
         disconnect(batteryPercentage, SIGNAL(contentsChanged()), this, SLOT(batteryPercentageChanged()));
391 391
     }

0 notes on commit 1db853e

Please sign in to comment.
Something went wrong with that request. Please try again.