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-pt | |
parent | f3d16459b19098ec4c1269a527867270c19c9e98 (diff) |
camera settings: disable for all A4 TECH cameras
We've had two reported crashes.
Issue: #468
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt_dialog.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp index c722e9a7..d3d68efc 100644 --- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp +++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp @@ -151,15 +151,8 @@ void TrackerDialog_PT::poll_tracker_info() void TrackerDialog_PT::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 TrackerDialog_PT::show_camera_settings() |