Fixing deprecated bitwise ops of dissimiliar enums

This commit is contained in:
Rob Emery 2024-10-09 21:27:35 +01:00
parent 65cb10ffe2
commit 223dcfec6d

View file

@ -28,8 +28,8 @@ class PresenterView : public QQuickView
public: public:
PresenterView() PresenterView()
{ {
Qt::WindowFlags windowFlags = Qt::WindowFlags(Qt::WA_TranslucentBackground | Qt::WindowDoesNotAcceptFocus | Qt::WindowFullScreen Qt::WindowFlags windowFlags = Qt::WindowFlags(Qt::WindowDoesNotAcceptFocus | Qt::WindowFullScreen | Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint
| Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint | Qt::Tool); | Qt::Tool | (int)(Qt::WA_TranslucentBackground));
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
windowFlags |= Qt::WindowTransparentForInput; windowFlags |= Qt::WindowTransparentForInput;
#endif #endif