From 223dcfec6dcd7c7a5ce29267c1620e1f466475db Mon Sep 17 00:00:00 2001 From: Rob Emery Date: Wed, 9 Oct 2024 21:27:35 +0100 Subject: [PATCH] Fixing deprecated bitwise ops of dissimiliar enums --- plugins/presenter/presenterplugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/presenter/presenterplugin.cpp b/plugins/presenter/presenterplugin.cpp index 410f6dbac..7123ab6b1 100644 --- a/plugins/presenter/presenterplugin.cpp +++ b/plugins/presenter/presenterplugin.cpp @@ -28,8 +28,8 @@ class PresenterView : public QQuickView public: PresenterView() { - Qt::WindowFlags windowFlags = Qt::WindowFlags(Qt::WA_TranslucentBackground | Qt::WindowDoesNotAcceptFocus | Qt::WindowFullScreen - | Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint | Qt::Tool); + Qt::WindowFlags windowFlags = Qt::WindowFlags(Qt::WindowDoesNotAcceptFocus | Qt::WindowFullScreen | Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint + | Qt::Tool | (int)(Qt::WA_TranslucentBackground)); #ifdef Q_OS_WIN windowFlags |= Qt::WindowTransparentForInput; #endif