diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-04-22 14:27:44 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-04-22 14:36:19 (GMT) |
commit | fd9cdaa55da455b90eacec571aeb2c84fa55f7e0 (patch) | |
tree | 774050472bc3096e4f2eec782f897da57bad85c8 /src/gui/kernel/qapplication.cpp | |
parent | a8d14ae567c7e847c6dbba644c36fbc6c6afc468 (diff) | |
download | Qt-fd9cdaa55da455b90eacec571aeb2c84fa55f7e0.zip Qt-fd9cdaa55da455b90eacec571aeb2c84fa55f7e0.tar.gz Qt-fd9cdaa55da455b90eacec571aeb2c84fa55f7e0.tar.bz2 |
Improve the icon parsing for files with a slightly wrong BMP header.
The reason it failed was that we always expected the height property
of the BMP header to be double the height of the icon. The
kde_favicon.ico did not fulfill this requirement. We can fix that by
simply reading from the ICONDIR entry instead, since that has always
the correct height.
Task-number: 229829
Reviewed-by: alexis
Diffstat (limited to 'src/gui/kernel/qapplication.cpp')
0 files changed, 0 insertions, 0 deletions