summaryrefslogtreecommitdiffhomepage
path: root/opentrack/main-settings.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-05-22 15:55:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-05-22 15:55:31 +0200
commit65bad699fc8472b49189a412f730409eb2e96311 (patch)
tree748a9ba239427447dc1cbf93815ed182f574998a /opentrack/main-settings.hpp
parentca510926a258e0e332deb1dce427f4ff629c9348 (diff)
all: implicitly cancel on form dialog close
Diffstat (limited to 'opentrack/main-settings.hpp')
-rw-r--r--opentrack/main-settings.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/opentrack/main-settings.hpp b/opentrack/main-settings.hpp
index 0468aeb1..27f9ee06 100644
--- a/opentrack/main-settings.hpp
+++ b/opentrack/main-settings.hpp
@@ -22,8 +22,7 @@ private:
}
};
-struct main_settings {
- pbundle b;
+struct main_settings : opts {
value<QString> tracker_dll, tracker2_dll, filter_dll, protocol_dll;
axis_opts a_x, a_y, a_z, a_yaw, a_pitch, a_roll;
value<bool> tcomp_p, tcomp_tz;
@@ -31,7 +30,7 @@ struct main_settings {
value<int> camera_yaw, camera_pitch;
value<bool> center_at_startup;
main_settings() :
- b(bundle("opentrack-ui")),
+ opts("opentrack-ui"),
tracker_dll(b, "tracker-dll", ""),
tracker2_dll(b, "tracker2-dll", ""),
filter_dll(b, "filter-dll", ""),