tests: Delete all QWidgets when test stops

So we don't go with garbage to the QtQuick tests
This commit is contained in:
Sergio Martins
2022-06-11 12:38:11 +01:00
parent 3c9598a560
commit e9c050b659

View File

@@ -113,6 +113,8 @@ void Platform_qtwidgets::tests_initPlatform_impl()
void Platform_qtwidgets::tests_deinitPlatform_impl()
{
qDeleteAll(qApp->topLevelWidgets());
Platform_qt::tests_deinitPlatform_impl();
}