lxqt / libqtxdg

Qt implementation of freedesktop.org xdg specs
https://lxqt.github.io
GNU Lesser General Public License v2.1
72 stars 35 forks source link

Qt fix for too big SVG icons with scale factors > 1 #225

Closed tsujan closed 4 years ago

tsujan commented 4 years ago

Previously (https://github.com/lxqt/libqtxdg/commit/ea10ca2bd14daf4641bd58d4963692f2df351710), the problem of distorted SVG icons with HDPI was solved by scaling down their big pixmaps but, later, Qt applied a better fix (https://code.qt.io/cgit/qt/qtbase.git/commit/src/gui/image/qiconloader.cpp?id=d8ab719c0890195cfce0fb6d4c76b3664d6f3a9d). This patch just imports Qt's fix into LXQt.

Closes https://github.com/lxqt/libqtxdg/issues/224