dfaure requested changes to this revision. dfaure added inline comments. This revision now requires changes to proceed.
INLINE COMMENTS > knotifyconfig.cpp:53 > QCache<QString, KSharedConfig::Ptr> &cache = *static_cache; > - Q_FOREACH (const QString &filename, cache.keys()) { > + const auto listFiles = cache.keys(); > + for (const QString &filename : listFiles) { horribly slow, should use STL iterators > notifybypopup.cpp:423 > } > - Q_FOREACH (KNotification *n, d->passivePopups.keys()) { > + const auto notificationList = d->passivePopups.keys(); > + for (KNotification *n : notificationList) { same REPOSITORY R289 KNotifications REVISION DETAIL https://phabricator.kde.org/D19551 To: mlaurent, dfaure Cc: kde-frameworks-devel, michaelh, ngraham, bruns