summaryrefslogtreecommitdiffstats
path: root/src/xsession.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2016-03-29 16:19:23 +0200
committerSimon Rettberg2016-03-29 16:19:23 +0200
commit49f3b953c49aa5b5130b57810f11ba69baf2b36e (patch)
tree24aeec7afdc12774140f435f84ece81ba0a5766c /src/xsession.cpp
parentFeature: Show warning for 64bit VMs if no VT-x available (diff)
downloadvmchooser2-49f3b953c49aa5b5130b57810f11ba69baf2b36e.tar.gz
vmchooser2-49f3b953c49aa5b5130b57810f11ba69baf2b36e.tar.xz
vmchooser2-49f3b953c49aa5b5130b57810f11ba69baf2b36e.zip
Fix indentation
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 {