mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-03-31 10:22:39 +08:00
Fix Issue #717: Handling OpenGL dock widget on Linux
This commit is contained in:
parent
f10294fe10
commit
edc9bcef69
@ -707,6 +707,9 @@ CFloatingDockContainer::CFloatingDockContainer(CDockManager *DockManager) :
|
||||
{
|
||||
setTitleBarWidget(new QWidget());
|
||||
setWindowFlags(Qt::Window | Qt::WindowMaximizeButtonHint | Qt::CustomizeWindowHint | Qt::WindowCloseButtonHint);
|
||||
// Force the new window to be native so OpenGL widgets are well handled
|
||||
// Unfortunatly setAttribute(Qt::WA_NativeWindow) provokes weird behavior
|
||||
winId();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user