D23775: HiDPI rendering improvement

Albert Astals Cid noreply at phabricator.kde.org
Mon Sep 9 14:59:51 BST 2019


aacid added inline comments.

INLINE COMMENTS

> progressBox.cpp:92
>      m_text = i18np("%1 File", "%1 Files", files);
> -    m_textWidth = fontMetrics().width(m_text);
> +    m_textWidth = fontMetrics().horizontalAdvance(m_text);
>      m_textHeight = fontMetrics().height();

This increases the Qt dependency to 5.11, please change the CMakeLists.txt accordingly (or maybe try to use bondingRect and see if that works since that doesn't need a newer Qt than we need at tis point)

REPOSITORY
  R352 Filelight

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

To: guoyunhe, #kde_applications
Cc: aacid, ngraham, #kde_applications, cfeck, kde-utils-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20190909/72b8a748/attachment.html>


More information about the Kde-utils-devel mailing list