summaryrefslogtreecommitdiffstats
path: root/src/xsession.cpp
diff options
context:
space:
mode:
authorJohann Latocha2011-03-01 23:03:20 +0100
committerJohann Latocha2011-03-01 23:03:20 +0100
commitb796bbc803613c3061b08b6c3c2a9883724f4684 (patch)
tree210892cb3ab8791b019000d4383de8f351edd841 /src/xsession.cpp
parent[Fix] Startup problems with xsession (Quick&Dirty) (diff)
downloadvmchooser-b796bbc803613c3061b08b6c3c2a9883724f4684.tar.gz
vmchooser-b796bbc803613c3061b08b6c3c2a9883724f4684.tar.xz
vmchooser-b796bbc803613c3061b08b6c3c2a9883724f4684.zip
1) cmd-switch to use a window manager
2) openslx logo added
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"))) {