summaryrefslogtreecommitdiffhomepage
path: root/opentrack/shortcuts.h
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/shortcuts.h')
-rw-r--r--opentrack/shortcuts.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/opentrack/shortcuts.h b/opentrack/shortcuts.h
index 4d4b19d3..d0aedec0 100644
--- a/opentrack/shortcuts.h
+++ b/opentrack/shortcuts.h
@@ -104,12 +104,11 @@ public:
mem<KeybindingWorker> keybindingWorker;
#endif
- struct settings {
- pbundle b;
+ struct settings : opts {
key_opts center, toggle, zero;
main_settings s_main;
settings() :
- b(bundle("keyboard-shortcuts")),
+ opts("keyboard-shortcuts"),
center(b, "center"),
toggle(b, "toggle"),
zero(b, "zero")