<table><tr><td style="">Fuchs updated this revision to Diff 28214.<br />Fuchs added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D10901" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Updated the text, tried to merge the code blocks. Due to most of it happening in a for loop depending on the type, this was not possible in a sane way without having a helper method created.</p>
<p>Personally I think legibility goes a tad bit down. If made easier to read, performance would go suffer (e.g. executing parts of it despite it not going to be shown anyway). <br />
I also think the .count variant is a bit easier to read, but take whichever you prefer.</p></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D10901?vs=28212&id=28214" rel="noreferrer">https://phabricator.kde.org/D10901?vs=28212&id=28214</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10901" rel="noreferrer">https://phabricator.kde.org/D10901</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applet/contents/ui/ListItemBase.qml</div></div></div><br /><div><strong>To: </strong>Fuchs, broulik, drosca<br /><strong>Cc: </strong>ngraham, plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>