summaryrefslogtreecommitdiffstats
path: root/src/xsession.h
diff options
context:
space:
mode:
authorJonathan Bauer2016-01-26 15:18:50 +0100
committerJonathan Bauer2016-01-26 15:18:50 +0100
commit08ca25dbb84a936df5c597a45fd08b98bb942a98 (patch)
tree6003cb1ea23fef496e7af3caee26b1647f1a2e19 /src/xsession.h
parentScroll the item into view when selecting programatically (diff)
downloadvmchooser2-08ca25dbb84a936df5c597a45fd08b98bb942a98.tar.gz
vmchooser2-08ca25dbb84a936df5c597a45fd08b98bb942a98.tar.xz
vmchooser2-08ca25dbb84a936df5c597a45fd08b98bb942a98.zip
reworked session information sent to the session process
exports the Exec= command as SESSION_CMD exports the type of the session (virtual/native) as SESSION_TYPE
Diffstat (limited to 'src/xsession.h')
-rw-r--r--src/xsession.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xsession.h b/src/xsession.h
index 5f78bff..87283c9 100644
--- a/src/xsession.h
+++ b/src/xsession.h
@@ -30,7 +30,9 @@ class XSession : public Session {
QString description() const {
return this->comment_;
}
-
+ QString execCommand() const {
+ return this->exec_;
+ }
QIcon icon() const;
bool run() const;