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

@@ -1551,7 +1551,7 @@ void TestQtWidgets::tstCloseNestedMDIPropagates()
auto dock2 = new KDDockWidgets::Views::DockWidget_qtwidgets(QStringLiteral("MyDock2"));
auto nonClosableWidget2 = Platform::instance()->tests_createNonClosableView();
dock2->dockWidget()->setGuestView(nonClosableWidget2->asWrapper());
dock2->show();
dock2->open();
Platform::instance()->tests_waitForEvent(dock1->controller(), QEvent::Show);
QVERIFY(dock1->isVisible());