Commit 80608893 authored by Piyush Aggarwal's avatar Piyush Aggarwal 🎱

Fix presenter plugin for Win32

parent d35b845c
Pipeline #6780 passed with stage
in 7 minutes and 28 seconds
......@@ -43,7 +43,13 @@ class PresenterView : public QQuickView
{
public:
PresenterView() {
setFlags(Qt::WindowFlags(Qt::WA_TranslucentBackground) | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::WindowDoesNotAcceptFocus | Qt::WindowFlags(Qt::WindowFullScreen) | Qt::Tool);
Qt::WindowFlags windowFlags = Qt::WindowFlags(Qt::WA_TranslucentBackground | Qt::WindowDoesNotAcceptFocus
| Qt::WindowFullScreen | Qt::WindowStaysOnTopHint
| Qt::FramelessWindowHint | Qt::Tool);
#ifdef Q_OS_WIN
windowFlags |= Qt::WindowTransparentForInput;
#endif
setFlags(windowFlags);
setClearBeforeRendering(true);
setColor(QColor(Qt::transparent));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment