More replacing of show() with open()

This time on DockWidgetViewInterface
This commit is contained in:
Sergio Martins
2022-09-10 12:40:54 +01:00
parent cf44110033
commit 4e3f4e3073
12 changed files with 28 additions and 25 deletions

View File

@@ -76,9 +76,8 @@ void DockWidget_qtwidgets::setWidget(QWidget *widget)
bool DockWidget_qtwidgets::event(QEvent *e)
{
if (e->type() == QEvent::Show) {
m_dockWidget->onShown();
}
if (e->type() == QEvent::Show)
m_dockWidget->open();
return QWidget::event(e);
}