diff options
author | Arno <arno@disconnect.de> | 2024-06-17 23:47:28 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2024-06-17 23:51:47 +0200 |
commit | c7b0d2967acf2430aabfda4910e77f4cf4827f55 (patch) | |
tree | 997f14d81364a20e5eb7ad067229b0a2d7b3c6c8 /archiveview.cpp | |
parent | 0690a2ae537aa1c6058996116c5af8bac66fc4ee (diff) | |
download | SheMov-c7b0d2967acf2430aabfda4910e77f4cf4827f55.tar.gz SheMov-c7b0d2967acf2430aabfda4910e77f4cf4827f55.tar.bz2 SheMov-c7b0d2967acf2430aabfda4910e77f4cf4827f55.zip |
Fix crash when trying to read an invalid image
Helper::picSize assumed that all data passed to it is a valid image and
thus crashed with an exception. Wrap it into try - catch and return
QVariant() when the pic is invalid.
Diffstat (limited to 'archiveview.cpp')
0 files changed, 0 insertions, 0 deletions