Fixed FloatingDockContainer Linux build for Qt6

This commit is contained in:
Uwe Kindler 2021-01-10 10:22:54 +01:00
parent 2a6bd306cb
commit ebde50b492

View File

@ -609,7 +609,8 @@ CFloatingDockContainer::CFloatingDockContainer(CDockManager *DockManager) :
#ifdef Q_OS_LINUX #ifdef Q_OS_LINUX
QDockWidget::setWidget(d->DockContainer); QDockWidget::setWidget(d->DockContainer);
QDockWidget::setFloating(true); QDockWidget::setFloating(true);
QDockWidget::setFeatures(QDockWidget::AllDockWidgetFeatures); QDockWidget::setFeatures(QDockWidget::DockWidgetClosable
| QDockWidget::DockWidgetMovable | QDockWidget::DockWidgetFloatable);
bool native_window = true; bool native_window = true;