This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/101701/ |
On November 9th, 2011, 6:48 a.m., Fredrik Höglund wrote:
kcontrol/input/xcursor/cursortheme.cpp (Diff revision 2) static int nominalCursorSize(int iconSize)119 pixmap = pixmap.scaled(size, Qt::KeepAspectRatio, Qt::SmoothTransformation);Scaling a pixmap is more expensive than scaling an image. Internally it involves converting the pixmap back to an image, scaling it, and then converting the image back to a pixmap. This is not a major issue, but it's the reason the image was scaled before it was converted to a pixmap.On November 9th, 2011, 11:45 a.m., Lukas Sommer wrote:
The problem is that I can't drop createIcon(int size) because I need it on other places. So I would either have to copy the code to createIcon() or change the return type of createIcon to QImage. Maybe we can leave this for a later revision?
Like I said, it's not an issue that needs to be fixed now.
- Fredrik
On September 2nd, 2011, 4:40 p.m., Lukas Sommer wrote:
Review request for KDE Base Apps, KDE Runtime, kdelibs, and Christoph Feck.
By Lukas Sommer.
Updated Sept. 2, 2011, 4:40 p.m. Description
Testing
Bugs:
90444
Diffs
Screenshots |