From 57ab688b4f422a0165795f69182caf4d2430a549 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 7 Mar 2016 20:16:05 +0100 Subject: remove unused center_method setting --- gui/options-dialog.cpp | 2 -- gui/settings.ui | 90 ++++++++++++++------------------------------------ 2 files changed, 25 insertions(+), 67 deletions(-) mode change 100644 => 100755 gui/options-dialog.cpp mode change 100644 => 100755 gui/settings.ui (limited to 'gui') diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp old mode 100644 new mode 100755 index 1e734135..d57b9f35 --- a/gui/options-dialog.cpp +++ b/gui/options-dialog.cpp @@ -111,8 +111,6 @@ OptionsDialog::OptionsDialog(main_settings& main, tie_setting(main.camera_pitch, ui.camera_pitch); tie_setting(main.camera_roll, ui.camera_roll); - tie_setting(main.center_method, ui.center_method); - connect(ui.bind_center, &QPushButton::pressed, [&]() -> void { bind_key(main.key_center, ui.center_text); }); connect(ui.bind_zero, &QPushButton::pressed, [&]() -> void { bind_key(main.key_zero, ui.zero_text); }); connect(ui.bind_toggle, &QPushButton::pressed, [&]() -> void { bind_key(main.key_toggle, ui.toggle_text); }); diff --git a/gui/settings.ui b/gui/settings.ui old mode 100644 new mode 100755 index b00e0960..59c98e96 --- a/gui/settings.ui +++ b/gui/settings.ui @@ -6,8 +6,8 @@ 0 0 - 428 - 525 + 441 + 552 @@ -34,33 +34,6 @@ Shortcuts - - - - Center at startup - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - Minimize to tray - - - @@ -240,43 +213,30 @@ - - - Centering method + + + Center at startup + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + Minimize to tray - - - - - Method - - - - - - - - Relative (inertial device) - - - - - Absolute (camera device) - - - - - - - - Try changing this if centering doesn't perform correctly for your input device. - - - true - - - - -- cgit v1.2.3