summaryrefslogtreecommitdiffstats
path: root/src/config.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/config.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/config.cpp')
-rw-r--r--src/config.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.cpp b/src/config.cpp
index d70b504..c338ed7 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -40,6 +40,7 @@ struct ConfigOption
}
};
+const ConfigOption* const Config::ALLOW_SCREENSAVER_DISABLE = new ConfigOption("", "allow-screensaver-disable", "allow-screensaver-disable", "", "", "Show checkbox to disable the screen saver for this session");
const ConfigOption* const Config::ALLOW_VM_EDIT = new ConfigOption("", "allow-vm-edit", "allow-vm-edit", "", "", "Show edit checkbox for VMs/lectures where meta data allows editing");
const ConfigOption* const Config::AUTOQUIT = new ConfigOption("", "autoquit", "autoquit", "seconds", "120", "Time after which vmchooser will quit if no user interaction is detected");
const ConfigOption* const Config::BASEDIR = new ConfigOption("b", "base", "base", "path", "/mnt/vmstore", "Base directory where vm meta data is relative to");