summaryrefslogtreecommitdiffstats
path: root/src/vsession.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/vsession.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/vsession.h')
-rw-r--r--src/vsession.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vsession.h b/src/vsession.h
index 609884e..fa3014d 100644
--- a/src/vsession.h
+++ b/src/vsession.h
@@ -14,7 +14,6 @@ class VSession : public Session {
bool isActive() const;
bool isLocked() const;
- bool isValid() const;
int priority() const;
@@ -86,6 +85,9 @@ class VSession : public Session {
static QList<Session*> readXmlFile(const QString& filepath);
+protected:
+ virtual QString checkCanRunInternal() const;
+
private:
QList<QString> keywords_;