]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
Fix coding style
authorRobert Ancell <robert.ancell@canonical.com>
Sun, 14 Apr 2013 23:00:34 +0000 (11:00 +1200)
committerRobert Ancell <robert.ancell@canonical.com>
Sun, 14 Apr 2013 23:00:34 +0000 (11:00 +1200)
liblightdm-qt/power.cpp

index fc2594c3bffbe3e89d04260f2d00f3b24ada2ca1..3eabc23f8283a91c9b783c7b6b8cfbf5a57a141a 100644 (file)
@@ -68,10 +68,12 @@ void PowerInterface::suspend()
 bool PowerInterface::canHibernate()
 {
     QDBusReply<bool> reply = d->powerManagementInterface->call("HibernateAllowed");
-    if (reply.isValid())
+    if (reply.isValid()) {
         return reply.value();
-    else
+    }
+    else {
         return false;
+    }
 }
 
 void PowerInterface::hibernate()