Use KFileItem::isWritable instead of the detour with KFileItemListProperties.
It's basically the same, only more expensive.
KFileItem::isWritable is already quite expensive on it's own.
This saves cycles but to be fair, the amount is neglectable.
Details
Details
I verified that the paste action in Dolphin (under the Right mouse button) still works.
Is active (when writable) and shows the correct text as before.
Diff Detail
Diff Detail
- Repository
- R241 KIO
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.