summaryrefslogtreecommitdiffhomepage
path: root/cv/video-widget.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-02 01:15:27 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-02 01:15:27 +0100
commit3319f6bed166832020cbd4601b06ffcfac5c2d24 (patch)
tree14e20a075ba72ade8df5150a295cb7b53be2b70a /cv/video-widget.hpp
parente445853cdc627c5923c137ae0381e2b60ba02a22 (diff)
cv/video-widget: simplify
Issue: #861
Diffstat (limited to 'cv/video-widget.hpp')
-rw-r--r--cv/video-widget.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cv/video-widget.hpp b/cv/video-widget.hpp
index b60ad7ed..cad05a20 100644
--- a/cv/video-widget.hpp
+++ b/cv/video-widget.hpp
@@ -46,6 +46,6 @@ private:
cv::Mat frame2, frame3;
bool freshp = false;
- int width = iround(QWidget::width() * devicePixelRatioF());
- int height = iround(QWidget::height() * devicePixelRatioF());
+ int W = iround(QWidget::width() * devicePixelRatioF());
+ int H = iround(QWidget::height() * devicePixelRatioF());
};