Fixed build for Qt5.5.1

This commit is contained in:
Uwe Kindler 2019-07-12 14:45:35 +02:00
parent 6eb869014e
commit 64231d037d

View File

@ -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);