We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a4729e commit 4cd8a01Copy full SHA for 4cd8a01
src/FloatingDockContainer.cpp
@@ -707,6 +707,11 @@ CFloatingDockContainer::CFloatingDockContainer(CDockManager *DockManager) :
707
{
708
setTitleBarWidget(new QWidget());
709
setWindowFlags(Qt::Window | Qt::WindowMaximizeButtonHint | Qt::CustomizeWindowHint | Qt::WindowCloseButtonHint);
710
+#ifdef USE_NATIVE_WIDGETS
711
+ // Force the new window to be native so OpenGL widgets are well handled
712
+ // Unfortunatly setAttribute(Qt::WA_NativeWindow) provokes weird behavior
713
+ winId();
714
+#endif
715
}
716
else
717
0 commit comments