example: Don't show the dock widgets immediately

It's not needed, as they are going to be added to the layout.
Saves us from flicker and also the temporary floating position
being saved
This commit is contained in:
Sergio Martins
2020-06-05 13:43:35 +01:00
parent 7c442dce85
commit 9601f57050

View File

@@ -196,7 +196,6 @@ KDDockWidgets::DockWidgetBase *MyMainWindow::newDockWidget()
}
dock->resize(600, 600);
dock->show();
m_toggleMenu->addAction(dock->toggleAction());
count++;