<table><tr><td style="">markg created this revision.<br />markg added a reviewer: dfaure.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.<br />markg 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/D10282" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Use KFileItem::isWritable instead of the detour with KFileItemListProperties.<br />
It's basically the same, only more expensive.<br />
KFileItem::isWritable is already quite expensive on it's own.<br />
This saves cycles but to be fair, the amount is neglectable.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>I verified that the paste action in Dolphin (under the Right mouse button) still works.<br />
Is active (when writable) and shows the correct text as before.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>BRANCH</strong><div><div>kfileitemproperties_optimization</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10282" rel="noreferrer">https://phabricator.kde.org/D10282</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/widgets/paste.cpp</div></div></div><br /><div><strong>To: </strong>markg, dfaure<br /><strong>Cc: </strong>Frameworks, michaelh, ngraham<br /></div>