kossebau updated this revision to Diff 76127. kossebau added a comment.
Switch to QIcon::paint, leaving all vodoo with devicePixelRatioF to QIcon logic Also results in better handling of pixmaps when they would be oversampled. Tested with QT_SCALE_FACTOR REPOSITORY R39 KTextEditor CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D27533?vs=76075&id=76127 BRANCH addmarkinterfacev2 REVISION DETAIL https://phabricator.kde.org/D27533 AFFECTED FILES src/document/katedocument.cpp src/document/katedocument.h src/include/ktexteditor/markinterface.h src/search/katesearchbar.cpp src/view/kateviewhelpers.cpp To: kossebau, #kate, #kdevelop Cc: kwrite-devel, kde-frameworks-devel, rrosch, LeGast00n, cblack, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann