From 947133905679e19196663bd9923fd063ae4d5b85 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 9 Jul 2019 11:33:27 +0200 Subject: Gray out and warn about VMs with missing hypervisor --- src/xsession.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/xsession.h') 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& keywords) const; +protected: + QString checkCanRunInternal() const; + private: QString name_; QString exec_; -- cgit v1.2.3-55-g7522