summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
authorSerge Lysenko <sergii.lysenko@avid.com>2015-08-31 19:43:45 +0300
committerSerge Lysenko <sergii.lysenko@avid.com>2015-09-17 16:30:37 +0000
commitf807a6de2c14714ffe0fdddac54ef41325613764 (patch)
tree20776ee4fe940bebe0e7af4df96f6c6b8a33aee0 /mkspecs/features
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. http://blogs.msdn.com/b/oldnewthing/archive/2010/10/18/10077133.aspx Task-number: QTBUG-48103 Change-Id: I99f0c9720fd58889045b0c73c51498f2065b0b91 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
Diffstat (limited to 'mkspecs/features')
0 files changed, 0 insertions, 0 deletions