mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-03 07:45:30 +08:00
6.5.3 clean
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user