diff --git a/src/FloatingDockContainer.cpp b/src/FloatingDockContainer.cpp index 2603f74..955180a 100644 --- a/src/FloatingDockContainer.cpp +++ b/src/FloatingDockContainer.cpp @@ -243,7 +243,7 @@ CFloatingDockContainer::CFloatingDockContainer(CDockManager* DockManager) : #ifdef Q_OS_LINUX d->TitleBar = new CFloatingWidgetTitleBar(this); - setWindowFlag(Qt::Tool); + setWindowFlags(windowFlags() | Qt::Tool); QDockWidget::setWidget(d->DockContainer); QDockWidget::setFloating(true); QDockWidget::setFeatures(QDockWidget::AllDockWidgetFeatures);