summaryrefslogtreecommitdiffstats
path: root/src/xsession.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xsession.cpp')
-rw-r--r--src/xsession.cpp14
1 files changed, 7 insertions, 7 deletions
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 {