D23839: Port away from Qt's foreach
Vlad Zagorodniy
noreply at phabricator.kde.org
Tue Sep 10 16:24:12 BST 2019
zzag added a comment.
Did you use a script to create this patch?
INLINE COMMENTS
> kwindowsystem_threadtest.cpp:61
> const QList<WId> windows = KWindowSystem::stackingOrder();
> - foreach (auto wid, windows) {
> + for (auto wid : windows) {
> KWindowInfo info(wid, NET::WMVisibleName);
Capture the value by const ref please.
REPOSITORY
R278 KWindowSystem
REVISION DETAIL
https://phabricator.kde.org/D23839
To: kossebau, #kwin, zzag
Cc: aacid, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190910/9ba99efe/attachment.html>
More information about the Kde-frameworks-devel
mailing list