D24923: Use more return early

Jan Grulich noreply at phabricator.kde.org
Thu Oct 24 16:10:04 BST 2019


jgrulich accepted this revision.
jgrulich added inline comments.

INLINE COMMENTS

> crossi wrote in networkmodel.cpp:402
> Code style :  Use curly braces even when the body of a conditional statement contains only one line.

I think this is a valid Qt coding style, it was just my obsession to use curly braces everywhere, even for single line body.

REPOSITORY
  R116 Plasma Network Management Applet

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

To: nicolasfella, jgrulich, crossi
Cc: crossi, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 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/20191024/4fc62d6f/attachment-0001.html>


More information about the Plasma-devel mailing list