D27514: Fix incorrect use of case statements in accountmodel.cpp

Bernhard Rosenkraenzer noreply at phabricator.kde.org
Thu Feb 20 00:21:17 GMT 2020


bero added a comment.


  Another option would be switching the code to use if instead of switch/case so the || operator would actually do what the code expected (and x || x, unlike duplicate case values, isn't an error)

REPOSITORY
  R128 User Manager

REVISION DETAIL
  https://phabricator.kde.org/D27514

To: bero, #plasma, davidedmundson
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, 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/20200220/e3b47bf9/attachment-0001.html>


More information about the Plasma-devel mailing list