Load all available pixmaps in an icon file.
authorBastiaan Veelo <Bastiaan@SARC.nl>
Sat, 16 Nov 2013 20:42:01 +0000 (21:42 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 30 Jan 2014 16:48:50 +0000 (17:48 +0100)
commit6e13f4b3e03a055bafc78037b0bf68d90fbbe98d
tree8a885a7cf5983a65d863acf06690ad11442414ec
parent97fd5399bca4f10393884cfd3bb20c29fb5361b4
Load all available pixmaps in an icon file.

Fixes the problem that only the first icon would be read from an .ico
file with muliple icons of various sizes in it.

Task-number: QTBUG-28267

Change-Id: I50daa89769054234e9ffc5246f59b46975948871
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
src/gui/image/qicon.cpp