diff options
-rw-r--r-- | src/xsession.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xsession.cpp b/src/xsession.cpp index f4c8a9d..7e19e76 100644 --- a/src/xsession.cpp +++ b/src/xsession.cpp @@ -93,6 +93,7 @@ QIcon XSession::icon() const { 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)) { |