summaryrefslogtreecommitdiffstats
path: root/src/config.cpp
diff options
context:
space:
mode:
authorJannik Schönartz2021-11-24 00:41:37 +0100
committerJannik Schönartz2021-11-24 00:41:37 +0100
commit89331d303117288edf07f628a9c5c454be4bfdb4 (patch)
tree72d5fad5fa979a9186911fa5db8b55738993f2e2 /src/config.cpp
parentvsession icon: Match agains OS display name too (diff)
downloadvmchooser2-remote-edit-vm.tar.gz
vmchooser2-remote-edit-vm.tar.xz
vmchooser2-remote-edit-vm.zip
Add a parameter allowing the edit checkbox to be checked by defaultremote-edit-vm
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 0d4a72d..56775ec 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -42,6 +42,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::ALLOW_VM_EDIT_CHECKED = new ConfigOption("", "allow-vm-edit-checked", "allow-vm-edit-checked", "", "", "Edit checkbox is selected by default");
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");
const ConfigOption* const Config::CONFIG = new ConfigOption("c", "config", "", "path", CONFIG_FILE_GLOBAL, "Path to global config file");