summaryrefslogtreecommitdiffstats
path: root/src/dialog.h
diff options
context:
space:
mode:
authorSimon Rettberg2016-09-02 17:28:11 +0200
committerSimon Rettberg2016-09-02 17:28:11 +0200
commitd4755df23b1c3a5791da4b176a56bbfdc4203255 (patch)
treece190f19fdd79bdc601f2bd66b91887ae32e05e6 /src/dialog.h
parentDon't allow selecting native sessions in exam mode (diff)
downloadvmchooser2-d4755df23b1c3a5791da4b176a56bbfdc4203255.tar.gz
vmchooser2-d4755df23b1c3a5791da4b176a56bbfdc4203255.tar.xz
vmchooser2-d4755df23b1c3a5791da4b176a56bbfdc4203255.zip
Really disable xsession button this time
Diffstat (limited to 'src/dialog.h')
-rw-r--r--src/dialog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dialog.h b/src/dialog.h
index 342a988..ea042cd 100644
--- a/src/dialog.h
+++ b/src/dialog.h
@@ -30,7 +30,7 @@ class Dialog : public QDialog {
static const int TAB_ALL_VMS = 2;
static const int TAB_COUNT = 3;
public: // Public methods
- explicit Dialog(int defaultTab = -1, bool allowNative = true, QWidget *parent = 0);
+ explicit Dialog(int defaultTab = -1, bool examMode = false, QWidget *parent = 0);
~Dialog();
void addItems(const QList<Session*>&, int tab);
void addStatusString(const int status);
@@ -56,6 +56,7 @@ class Dialog : public QDialog {
int defaultTab_;
bool userInteracted_;
bool genericExpandedOnce_;
+ bool examMode_;
QString strings_[STR__MAX];
void onTabButtonChanged(int tab);
void configClearButton();