summaryrefslogtreecommitdiffstats
path: root/src/xsession.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xsession.cpp')
-rw-r--r--src/xsession.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xsession.cpp b/src/xsession.cpp
index 37fad17..8c32df5 100644
--- a/src/xsession.cpp
+++ b/src/xsession.cpp
@@ -109,6 +109,10 @@ bool XSession::run() const {
return false;
}
+int XSession::type() const {
+ return Session::XSESSION;
+}
+
QList<Session*> XSession::readSessions(const QString& path) {
QList<Session*> retval;
foreach (QFileInfo fi, QDir(path).entryInfoList(QStringList("*.desktop"))) {