example: Don't leak the dock widgets on shutdown

This commit is contained in:
Sergio Martins
2020-05-17 18:02:03 +01:00
parent 4647814aae
commit a9e02ccd41
2 changed files with 6 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ public:
bool dockWidget0IsNonClosable, bool nonDockableDockWidget9, bool restoreIsRelative,
const QString &affinityName = {}, // Usually not needed. Just here to show the feature.
QWidget *parent = nullptr);
~MyMainWindow() override;
private:
void createDockWidgets();