diff --git a/ui/src/viewport.cxx b/ui/src/viewport.cxx index 634b996..0f89097 100644 --- a/ui/src/viewport.cxx +++ b/ui/src/viewport.cxx @@ -5,6 +5,7 @@ #include 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);