summaryrefslogtreecommitdiffstats
path: root/wizardtreemodel.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2024-06-17 23:47:28 +0200
committerArno <arno@disconnect.de>2024-06-17 23:51:47 +0200
commitc7b0d2967acf2430aabfda4910e77f4cf4827f55 (patch)
tree997f14d81364a20e5eb7ad067229b0a2d7b3c6c8 /wizardtreemodel.cpp
parent0690a2ae537aa1c6058996116c5af8bac66fc4ee (diff)
downloadSheMov-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 'wizardtreemodel.cpp')
0 files changed, 0 insertions, 0 deletions