From 49f3b953c49aa5b5130b57810f11ba69baf2b36e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 29 Mar 2016 16:19:23 +0200 Subject: Fix indentation --- src/xsession.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/xsession.cpp') diff --git a/src/xsession.cpp b/src/xsession.cpp index 7e19e76..34593e1 100644 --- a/src/xsession.cpp +++ b/src/xsession.cpp @@ -76,7 +76,7 @@ bool XSession::isActive() const { } bool XSession::isValid() const { - return true; + return true; } bool XSession::isLocked() const { @@ -88,12 +88,12 @@ int XSession::priority() const { } QIcon XSession::icon() const { - QIcon retIcon; + QIcon retIcon; if (!this->icon_.isEmpty()) { - retIcon = SessionsIconHolder::get()->getIcon(this->icon_); - } - if (retIcon.isNull()) { - QString icon; + retIcon = SessionsIconHolder::get()->getIcon(this->icon_); + } + if (retIcon.isNull()) { + QString icon; if (this->exec_.contains("kde", Qt::CaseInsensitive)) { icon = "kde"; } else if (this->exec_.contains("gnome", Qt::CaseInsensitive)) { @@ -109,7 +109,7 @@ QIcon XSession::icon() const { } retIcon = SessionsIconHolder::get()->getIcon(icon); } - return retIcon; + return retIcon; } bool XSession::run() const { -- cgit v1.2.3-55-g7522