path: root/mkspecs
diff options
authorSerge Lysenko <>2015-08-31 19:43:45 +0300
committerSerge Lysenko <>2015-09-17 16:30:37 +0000
commitf807a6de2c14714ffe0fdddac54ef41325613764 (patch)
tree20776ee4fe940bebe0e7af4df96f6c6b8a33aee0 /mkspecs
parentd36a1dfb51af3f981262bc8e8fcd22b91aa890a6 (diff)
Fix QImageReader::size() to return correct size for .ico files.
According to MSDN, the zero value of ICONDIRENTRY bHeight and bWidth fields mean a maximum icon size 256 pixels. So QtIcoHandler::option() should return 256 instead of 0 pixels for such icons. Also there is fixed wrong seek offset at the second call on this method. Task-number: QTBUG-48103 Change-Id: I99f0c9720fd58889045b0c73c51498f2065b0b91 Reviewed-by: Friedemann Kleint <> Reviewed-by: aavit <>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions