summaryrefslogtreecommitdiffstats
path: root/src/dialog.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2019-06-03 11:39:54 +0200
committerSimon Rettberg2019-06-03 11:39:54 +0200
commit9e28d36029ac34d8739115d27cb72cb7d92d02f1 (patch)
treeaa2b99b7205e8ff93eefd3636c36c469bb9dc0c4 /src/dialog.cpp
parentDon't replace window flags, just add new one (diff)
downloadvmchooser2-9e28d36029ac34d8739115d27cb72cb7d92d02f1.tar.gz
vmchooser2-9e28d36029ac34d8739115d27cb72cb7d92d02f1.tar.xz
vmchooser2-9e28d36029ac34d8739115d27cb72cb7d92d02f1.zip
Add option to show the "disable screensaver" checkbox
Diffstat (limited to 'src/dialog.cpp')
-rw-r--r--src/dialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dialog.cpp b/src/dialog.cpp
index fb64c8f..298efc4 100644
--- a/src/dialog.cpp
+++ b/src/dialog.cpp
@@ -71,6 +71,8 @@ Dialog::Dialog(QWidget *parent)
ui->PVS_checkbox->setVisible(Config::isSet(Config::PVS));
ui->PVS_checkbox->setChecked(Config::isSet(Config::PVS_CHECKED));
+ ui->chkNoScreenSaver->setVisible(Config::isSet(Config::ALLOW_SCREENSAVER_DISABLE));
+
activeTab_ = -1;
if (Config::isSet(Config::EXAM_MODE)) {
ui->tabButtonLocal->setEnabled(false);