summaryrefslogtreecommitdiffhomepage
path: root/cv/video-widget.cpp
diff options
context:
space:
mode:
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;
}