<table><tr><td style="">davidre created this revision.<br />davidre added reviewers: apol, broulik, ndavis, Breeze.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />davidre 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/D29154">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Previously only the combobox used this overload but that dropped in<br />
<a href="https://phabricator.kde.org/R31:0eaf762705d84fab5c70a8934ffa7cfeadeeebde" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">0eaf762705d84fab5c70a8934ffa7cfeadeeebde</a> because of the changes in<br />
<a href="https://phabricator.kde.org/R31:582f5ebad1686d47168a3246e2aff5beefb59121" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">582f5ebad1686d47168a3246e2aff5beefb59121</a>. However we should prefer that<br />
overload because it takes the screen into account on which the icon is rendered.<br />
This reinstates the code removed in <a href="https://phabricator.kde.org/R31:0eaf762705d84fab5c70a8934ffa7cfeadeeebde" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">0eaf762</a> as a helper function to retrieve the<br />
window from a window or styleObject.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Icons look correct<br />
(I don't have a high dpi screen myself but this should be straightforward)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R31 Breeze</div></div></div><br /><div><strong>BRANCH</strong><div><div>window</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D29154">https://phabricator.kde.org/D29154</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstyle/breezehelper.cpp<br />
kstyle/breezehelper.h<br />
kstyle/breezestyle.cpp</div></div></div><br /><div><strong>To: </strong>davidre, apol, broulik, ndavis, Breeze<br /><strong>Cc: </strong>plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>