diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-28 03:02:57 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-16 07:48:18 +0100 |
commit | 6f04e4ca46e6f2dcd3eda63529a1bbd915f7676b (patch) | |
tree | 9aeb1332980c4285396457ad9f278495064549b5 /cv | |
parent | 3be3bb256f3e9362f8889f0532f875c5ad3b41fb (diff) |
clang-tidy fixes only
Maybe global `-Wcomma' is too harsh.
There should be no functional changes whatsoever.
Diffstat (limited to 'cv')
-rw-r--r-- | cv/video-widget.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cv/video-widget.cpp b/cv/video-widget.cpp index e7df087e..45664bda 100644 --- a/cv/video-widget.cpp +++ b/cv/video-widget.cpp @@ -99,7 +99,8 @@ void cv_video_widget::paintEvent(QPaintEvent*) texture = QImage(W, H, QImage::Format_ARGB32); texture.setDevicePixelRatio(dpr); - width = W, height = H; + width = W; + height = H; frame1 = cv::Mat(); frame2 = cv::Mat(); @@ -125,5 +126,6 @@ void cv_video_widget::get_preview_size(int& w, int& h) { QMutexLocker l(&mtx); - w = width, h = height; + w = width; + h = height; } |