diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-08-01 11:22:41 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-08-01 11:22:41 +0200 |
commit | b930dd608bf95ecc3f89007313ba8ab8b1935ee5 (patch) | |
tree | 649ddba90caa1de65ad1c53be23afeb635121e73 /video/video-widget.hpp | |
parent | e71f7af1d619d02667c2bfb9f5fd0d925e534230 (diff) |
video: reuse working dpi check
Diffstat (limited to 'video/video-widget.hpp')
-rw-r--r-- | video/video-widget.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/video/video-widget.hpp b/video/video-widget.hpp index bb218c69..9218643b 100644 --- a/video/video-widget.hpp +++ b/video/video-widget.hpp @@ -7,6 +7,7 @@ #pragma once +#include "compat/qt-dpi.hpp" #include "compat/math.hpp" #include "export.hpp" @@ -20,7 +21,7 @@ #include <QMutex> -struct OTR_VIDEO_EXPORT video_widget : QWidget +struct OTR_VIDEO_EXPORT video_widget : QWidget, public screen_dpi_mixin<video_widget> { video_widget(QWidget* parent = nullptr); |