D25378: Get icon size from QStyle instead of KIconLoader
Nicolas Fella
noreply at phabricator.kde.org
Sun Dec 8 22:57:18 GMT 2019
nicolasfella added a comment.
In D25378#570724 <https://phabricator.kde.org/D25378#570724>, @broulik wrote:
> Can't you just return a `QIcon` and let the view figure it out? I don't like the model making assumptions on the visual representation
This seems not trivially possible because of the mode argument. That can only be set in pixmap() or paint()
REPOSITORY
R36 Ark
REVISION DETAIL
https://phabricator.kde.org/D25378
To: nicolasfella, #ark, elvisangelaccio
Cc: broulik, kde-utils-devel, fbampaloukas, tctara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20191208/bfb757c0/attachment.html>
More information about the Kde-utils-devel
mailing list