D8294: Improve layout in previewer

Elvis Angelaccio noreply at phabricator.kde.org
Sat Oct 14 14:13:40 UTC 2017


elvisangelaccio added inline comments.

INLINE COMMENTS

> arkviewer.cpp:175
>      // Set icon and comment for the mimetype.
> -    m_iconLabel->setPixmap(QIcon::fromTheme(mimeType.iconName()).pixmap(IconSize(KIconLoader::Desktop), IconSize(KIconLoader::Desktop)));
> +    m_iconLabel->setPixmap(QIcon::fromTheme(mimeType.iconName()).pixmap(16, 16));
>      m_commentLabel->setText(mimeType.comment());

Why hardcoding the size? I get 16 with `KIconLoader::Small`

REPOSITORY
  R36 Ark

REVISION DETAIL
  https://phabricator.kde.org/D8294

To: rthomsen, elvisangelaccio
Cc: kde-utils-devel, #ark, tctara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20171014/f1801a2d/attachment-0001.html>


More information about the Kde-utils-devel mailing list