diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-04 08:25:59 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-04 08:25:59 +0100 |
commit | 27e3ae23bcf608e4dabffbd68e54e626423ab64d (patch) | |
tree | 9b481c4dcdb524899a041b8d989492da66964e96 /cv/video-property-page.cpp | |
parent | 4b517fccf19a8de4e517532dca2df11cca36f3eb (diff) |
cv: oops, fix conditional
Diffstat (limited to 'cv/video-property-page.cpp')
-rw-r--r-- | cv/video-property-page.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cv/video-property-page.cpp b/cv/video-property-page.cpp index 66060caa..f7126a85 100644 --- a/cv/video-property-page.cpp +++ b/cv/video-property-page.cpp @@ -49,7 +49,7 @@ struct prop_settings_worker final : QThread prop_settings_worker::prop_settings_worker(int idx) { - if (cap.get(cv::CAP_PROP_SETTINGS) < 0 || 1) + if (cap.get(cv::CAP_PROP_SETTINGS) < 0) run_in_thread_async(qApp, []() { QMessageBox msg; msg.setTextFormat(Qt::RichText); |