Bump clazy version

This commit is contained in:
Nicolas Werner 2025-01-05 15:48:26 +01:00
parent f6788ecf1f
commit 7db1711b09
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
8 changed files with 18 additions and 17 deletions

View file

@ -203,7 +203,8 @@ NhekoFixupPaletteEventFilter::eventFilter(QObject *obj, QEvent *event)
// reason?!?
if (event->type() == QEvent::ChildAdded &&
obj->metaObject()->className() == QStringLiteral("QQuickRootItem")) {
for (const auto window : QGuiApplication::topLevelWindows()) {
auto windows = QGuiApplication::topLevelWindows();
for (const auto window : std::as_const(windows)) {
if (window->property("posted").isValid())
continue;
QGuiApplication::postEvent(window, new QEvent(QEvent::ApplicationPaletteChange));