summaryrefslogtreecommitdiffhomepage
path: root/video/video-widget.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'video/video-widget.hpp')
-rw-r--r--video/video-widget.hpp3
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);