diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-18 10:43:31 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-18 10:43:31 +0200 |
commit | 8e022f0d1ad5628c2bf9a97a16b16fd1cff5196c (patch) | |
tree | 24802f1b51f6143184dc22c2f8be1d33ca0ad84d /facetracknoir/options-dialog.cpp | |
parent | 771e3feef12683b2e756bb638f63934322923620 (diff) |
minor fixes now
Diffstat (limited to 'facetracknoir/options-dialog.cpp')
-rw-r--r-- | facetracknoir/options-dialog.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/facetracknoir/options-dialog.cpp b/facetracknoir/options-dialog.cpp index 08c92ee8..705f7672 100644 --- a/facetracknoir/options-dialog.cpp +++ b/facetracknoir/options-dialog.cpp @@ -67,7 +67,7 @@ OptionsDialog::OptionsDialog(State& state) : state(state), trans_calib_running(f tie_setting(pt.fov, ui.camera_fov); - tie_setting(pt.is_cap, ui.model_cap); + tie_setting(pt.model_used, ui.model_used); tie_setting(acc.rot_threshold, ui.rotation_slider); tie_setting(acc.trans_threshold, ui.translation_slider); @@ -84,6 +84,7 @@ void OptionsDialog::doOK() { s.b->save(); pt.b->save(); s.s_main.b->save(); + acc.b->save(); ui.game_detector->save(); this->close(); emit reload(); @@ -93,6 +94,7 @@ void OptionsDialog::doCancel() { s.b->reload(); pt.b->reload(); s.s_main.b->reload(); + acc.b->reload(); ui.game_detector->revert(); close(); } |