D23085: Make iterating over Layer enum simple
Frederik Gladhorn
noreply at phabricator.kde.org
Sun Aug 11 10:53:13 BST 2019
gladhorn created this revision.
gladhorn added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
gladhorn requested review of this revision.
REVISION SUMMARY
Having a function with a confusing comment, to iterate over the enum,
is mostly confusing. Make it boring by just moving the cast to the one
place that uses it.
REPOSITORY
R108 KWin
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D23085
AFFECTED FILES
layers.cpp
utils.h
To: gladhorn, #kwin
Cc: kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190811/e679a186/attachment-0001.html>
More information about the kwin
mailing list