<table><tr><td style="">pino created this revision.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />pino requested review of this revision.
</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/D17983">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Setting an overlay by name results in a QIcon for it created; OTOH,<br />
this icon is never used to create the final image in case the<br />
main/attention icons are set by name too.</p>

<p>Since KIconEngine supports overlays natively, directly pass the list of<br />
overlays (with just one element -- the overlay set) to it.  As result,<br />
main/attention icons by name are created directly with the requested<br />
overlay by name.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">builds fine</li>
<li class="remarkup-list-item">main/attention icon by name + overlay by name works now, showing the requested overlay</li>
<li class="remarkup-list-item">main/attention icon by name + overlay by pixmap still works as before</li>
<li class="remarkup-list-item">main/attention icon by pixmap is unaffected, no matter whether/which overlay is set</li>
<li class="remarkup-list-item">the system tray icons of juk, and amarok now have the play/pause overlays</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>sni-overlays (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17983">https://phabricator.kde.org/D17983</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>dataengines/statusnotifieritem/statusnotifieritemsource.cpp</div></div></div><br /><div><strong>To: </strong>pino<br /><strong>Cc: </strong>plasma-devel, kvanton, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>