QDockWidget:AllDockWidgetFeatures is deprecated. Use individual flags instead.

This commit is contained in:
Mateusz Skowroński
2021-04-04 08:56:52 +02:00
committed by wwmayer
parent 5b755c20b5
commit 73a077ae01
2 changed files with 6 additions and 2 deletions

View File

@@ -226,7 +226,9 @@ void ControlSingleton::closedDialog()
// make sure that the combo view is shown
QDockWidget* dw = qobject_cast<QDockWidget*>(pcComboView->parentWidget());
if (dw)
dw->setFeatures(QDockWidget::AllDockWidgetFeatures);
dw->setFeatures(QDockWidget::DockWidgetClosable
| QDockWidget::DockWidgetMovable
| QDockWidget::DockWidgetFloatable);
}
bool ControlSingleton::isAllowedAlterDocument(void) const