From 6f04e4ca46e6f2dcd3eda63529a1bbd915f7676b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 28 Dec 2018 03:02:57 +0100 Subject: clang-tidy fixes only Maybe global `-Wcomma' is too harsh. There should be no functional changes whatsoever. --- cv/video-widget.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cv/video-widget.cpp') 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; } -- cgit v1.2.3