diff options
author | Simon Rettberg | 2019-07-09 11:33:27 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-07-09 11:33:27 +0200 |
commit | 947133905679e19196663bd9923fd063ae4d5b85 (patch) | |
tree | 4edc66c64853ce58fbab49e85c547e4e0dea5070 /src/xsession.h | |
parent | vsession.*: Use QStringLiteral for most C-Strings (diff) | |
download | vmchooser2-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.h | 4 |
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_; |