tests: Delete all QWidgets when test stops
So we don't go with garbage to the QtQuick tests
This commit is contained in:
@@ -113,6 +113,8 @@ void Platform_qtwidgets::tests_initPlatform_impl()
|
||||
|
||||
void Platform_qtwidgets::tests_deinitPlatform_impl()
|
||||
{
|
||||
qDeleteAll(qApp->topLevelWidgets());
|
||||
|
||||
Platform_qt::tests_deinitPlatform_impl();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user