qt5base-lts/src
Eike Ziller e4d6488ffa QCocoaTheme: Fix size of pixmap returned by fileIconPixmap
The code assumed that CGImageForProposedRect would return a sensible
sized image, but that can return basically any size (depending on the
NSImage's image representations). In the case of the bug report this is
a 1024x1024 pixmap when requesting a pixmap of size 64x64 and larger.
Make sure that we return a pixmap of the exact requested size.
For this, themeHint must also return sizes in device coordinates.

Task-number: QTBUG-35009

Change-Id: Iaae11023bab6d4122815ca4010aab6967dfb18a0
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
2014-01-17 09:13:56 +01:00
..
3rdparty zlib: rename z_errmsg symbol to avoid name clash when linking statically 2014-01-09 20:14:48 +01:00
android Fix Use android theme when defined 2014-01-11 22:13:19 +01:00
angle GitIgnore updates 2013-12-09 17:28:18 +01:00
concurrent QtConcurrent: Workaround GCC bug 58800 in median calculation 2013-12-03 11:45:18 +01:00
corelib Optimize QDateTime string parsing 2014-01-17 01:36:35 +01:00
dbus Don't leak pending call objects when peer disconnects 2013-12-30 23:20:40 +01:00
gui Fix unused-function warning in qdrawhelper.cpp 2014-01-16 02:38:11 +01:00
network Prevent spurious SSL errors from local certificates. 2014-01-16 21:57:06 +01:00
opengl Resurrect QGLWidget::renderPixmap() 2014-01-06 12:57:20 +01:00
openglextensions Use BSD licensing for QtOpenGLExtensions instead of LGPL 2013-06-24 10:16:32 +02:00
platformsupport Remove unused member m_eglApi 2014-01-10 02:33:45 +01:00
plugins QCocoaTheme: Fix size of pixmap returned by fileIconPixmap 2014-01-17 09:13:56 +01:00
printsupport QPagedPaintDevice - Fix size of ISO B9 page 2014-01-06 20:39:31 +01:00
sql Minor optimization use QString midRef instead of mid. 2014-01-15 15:58:00 +01:00
testlib Fix QtTest function-unused warnings found by Clang 3.4 2014-01-17 01:36:39 +01:00
tools moc: Fix parsing of complex defines defined via command line 2014-01-17 01:36:37 +01:00
widgets Doc: Fix suggest parentheses GCC warning 2014-01-16 02:38:11 +01:00
winmain enable path replacement in installed prl files on all platforms 2013-12-04 17:18:54 +01:00
xml Mitigate performance regression in isExpandedEntityValueTooLarge(). 2014-01-09 17:54:24 +01:00
src.pro Explicitly mark subdirs as host_builds in SUBDIRS template 2013-10-18 18:01:54 +02:00