diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-10-01 16:41:20 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-10-01 16:41:20 +0200 |
commit | 29406db336d00a223fec9035044a5ca46ade1d3f (patch) | |
tree | 2193fab5bf301e5106d05ef86c225f419c5bd6f7 /tracker-aruco | |
parent | f3d16459b19098ec4c1269a527867270c19c9e98 (diff) |
camera settings: disable for all A4 TECH cameras
We've had two reported crashes.
Issue: #468
Diffstat (limited to 'tracker-aruco')
-rw-r--r-- | tracker-aruco/ftnoir_tracker_aruco.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp index 18e6a9bf..24923ede 100644 --- a/tracker-aruco/ftnoir_tracker_aruco.cpp +++ b/tracker-aruco/ftnoir_tracker_aruco.cpp @@ -435,15 +435,8 @@ TrackerControls::TrackerControls() void TrackerControls::set_camera_settings_available(const QString& camera_name) { -#ifdef _WIN32 - const bool avail = camera_name != QStringLiteral("PS3Eye Camera"); + const bool avail = video_property_page::should_show_dialog(camera_name); ui.camera_settings->setEnabled(avail); -#elif defined(__linux) - (void)camera_name; -#else - (void)camera_name; - ui.camera_settings->setEnabled(false); -#endif } void TrackerControls::show_camera_settings() |