From d4755df23b1c3a5791da4b176a56bbfdc4203255 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 2 Sep 2016 17:28:11 +0200 Subject: Really disable xsession button this time --- src/dialog.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dialog.h') 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&, 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(); -- cgit v1.2.3-55-g7522