Fix a crash when loading a PPMRAW image
The crash is caused by the fact that TQImageIO::imageFormat() may return
some values not present in neighter KImageIO::types(KImageIO::Reading)
nor in TQImage::inputFormatList(), e.g. different flavours of ppm like
PPMRAW. Besides that it's possible theat TQt could support other formats
unknown to TDE.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 967c505233
)
pull/34/head
parent
b97fb9f1a9
commit
ab31b74b6a
Loading…
Reference in New Issue