Debug: Error reporting for SHashedImage loading

Overwrite QImage::load() in SHashedImage so that we can perform better
error reporting.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-03-30 07:57:30 +02:00 committed by Lubomir I. Ivanov
parent 376b737891
commit d9df8c3f47
2 changed files with 12 additions and 0 deletions

View file

@ -20,6 +20,7 @@ private:
};
class SHashedImage : public QImage {
bool load(const QString &fileName, const char *format=nullptr);
public:
SHashedImage(struct picture *picture);
};