D27669: WIP: [kstyle] Tools area
Hugo Pereira Da Costa
noreply at phabricator.kde.org
Sat Feb 29 22:50:48 GMT 2020
hpereiradacosta added inline comments.
INLINE COMMENTS
> breezetoolsareamanager.cpp:146
> + if (window == widget->window()->windowHandle()) {
> + hasWidget = true;
> + }
you can break here once one widget is found. no need to loop over the remaining widgets.
alternatively you can use std::any_of or (better) std::none_of
REPOSITORY
R31 Breeze
REVISION DETAIL
https://phabricator.kde.org/D27669
To: cblack, #plasma, #breeze, #vdg
Cc: davidedmundson, hpereiradacosta, gvgeo, ngraham, manueljlin, niccolove, ndavis, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200229/d1bdfe4d/attachment.html>
More information about the Plasma-devel
mailing list