summaryrefslogtreecommitdiffhomepage
path: root/cv/video-widget.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-28 03:02:57 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:18 +0100
commit6f04e4ca46e6f2dcd3eda63529a1bbd915f7676b (patch)
tree9aeb1332980c4285396457ad9f278495064549b5 /cv/video-widget.cpp
parent3be3bb256f3e9362f8889f0532f875c5ad3b41fb (diff)
clang-tidy fixes only
Maybe global `-Wcomma' is too harsh. There should be no functional changes whatsoever.
Diffstat (limited to 'cv/video-widget.cpp')
-rw-r--r--cv/video-widget.cpp6
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;
}