diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-17 13:43:01 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-17 13:43:01 +0100 |
commit | d3763b0053284154bcceadbd2d1d8fe171adc4cf (patch) | |
tree | e7a98a7b2438018f4067a4382544c211f2c14e61 | |
parent | a492ae1261ce7a988e5721b919583ac10b939990 (diff) |
video/ps3eye: fix leak
-rw-r--r-- | video-ps3eye/module.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video-ps3eye/module.cpp b/video-ps3eye/module.cpp index fbc9a8da..a234a3aa 100644 --- a/video-ps3eye/module.cpp +++ b/video-ps3eye/module.cpp @@ -257,6 +257,8 @@ OTR_REGISTER_CAMERA(ps3eye_camera_) dialog::dialog(QWidget* parent) : QWidget(parent) { ui.setupUi(this); + setAttribute(Qt::WA_DeleteOnClose); + t.setInterval(500); t.setSingleShot(true); tie_setting(s.exposure, ui.exposure_slider); tie_setting(s.gain, ui.gain_slider); |