6.5.3 clean

This commit is contained in:
kleuter
2023-11-01 18:02:52 +01:00
parent bbe896803b
commit 7018d9e6c8
2170 changed files with 57471 additions and 43550 deletions

View File

@ -58,7 +58,8 @@ private slots:
static inline int visibleTopLevelWidgetCount()
{
int result= 0;
foreach (const QWidget *topLevel, QApplication::topLevelWidgets()) {
const auto topLevels = QApplication::topLevelWidgets();
for (const QWidget *topLevel : topLevels) {
if (topLevel->isVisible())
++result;
}

View File

@ -117,7 +117,8 @@ void tst_QToolTip::keyEvent()
static QWidget *findWhatsThat()
{
foreach (QWidget *widget, QApplication::topLevelWidgets()) {
const auto widgets = QApplication::topLevelWidgets();
for (QWidget *widget : widgets) {
if (widget->inherits("QWhatsThat"))
return widget;
}

View File

@ -45,3 +45,5 @@ android
android
[optimizedResize_topLevel]
android
[render]
wayland