summaryrefslogtreecommitdiffstats
path: root/src/xsession.h
diff options
context:
space:
mode:
authorSimon Rettberg2019-07-09 11:33:27 +0200
committerSimon Rettberg2019-07-09 11:33:27 +0200
commit947133905679e19196663bd9923fd063ae4d5b85 (patch)
tree4edc66c64853ce58fbab49e85c547e4e0dea5070 /src/xsession.h
parentvsession.*: Use QStringLiteral for most C-Strings (diff)
downloadvmchooser2-947133905679e19196663bd9923fd063ae4d5b85.tar.gz
vmchooser2-947133905679e19196663bd9923fd063ae4d5b85.tar.xz
vmchooser2-947133905679e19196663bd9923fd063ae4d5b85.zip
Gray out and warn about VMs with missing hypervisor
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 fcef5d4..e014e9e 100644
--- a/src/xsession.h
+++ b/src/xsession.h
@@ -17,7 +17,6 @@ class XSession : public Session {
bool isActive() const;
bool isLocked() const;
- bool isValid() const;
SectionType section() const {
return SECTION_XSESSION;
@@ -51,6 +50,9 @@ class XSession : public Session {
bool containsKeywords(const QList<QString>& keywords) const;
+protected:
+ QString checkCanRunInternal() const;
+
private:
QString name_;
QString exec_;