reduce requirements of the Viewport

This commit is contained in:
numzero 2025-11-15 18:37:45 +03:00
parent d92d75a4d1
commit be2df57702

View File

@ -5,6 +5,7 @@
#include <QGuiApplication>
Viewport::Viewport(QWidget* parent, Qt::WindowFlags f) : QWidget(parent, f) {
setAttribute(Qt::WA_DontCreateNativeAncestors);
setAttribute(Qt::WA_NativeWindow);
setAttribute(Qt::WA_PaintOnScreen);
setAttribute(Qt::WA_NoSystemBackground);