<table><tr><td style="">dfaure accepted this revision.<br />dfaure added a comment.<br />This revision is now accepted and ready to land.
</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/D9166" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>I expect this map to be very small, and creating a null KEmoticonsTheme allocates a d pointer, so I'm not 100% sure this is faster.</p>

<p>But OK, I'm allergic to double lookups and people tend to reuse constructs they saw, so I still prefer the code after the change than before ;)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R301 KEmoticons</div></div></div><br /><div><strong>BRANCH</strong><div><div>remove_double_loop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9166" rel="noreferrer">https://phabricator.kde.org/D9166</a></div></div><br /><div><strong>To: </strong>mlaurent, dfaure<br /><strong>Cc: </strong>Frameworks<br /></div>