diff options
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt_dialog.cpp')
-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() |