diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-03-30 07:57:30 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-04-01 15:59:46 +0300 |
commit | d9df8c3f474b128b1631f1ff58ec2026ab21272d (patch) | |
tree | 7433fdb7b58b705aa1c9fc3030e70a83d058d782 /core/imagedownloader.h | |
parent | 376b73789115833edbcdbed86d5e709cab2ab050 (diff) | |
download | subsurface-d9df8c3f474b128b1631f1ff58ec2026ab21272d.tar.gz |
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>
Diffstat (limited to 'core/imagedownloader.h')
-rw-r--r-- | core/imagedownloader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/imagedownloader.h b/core/imagedownloader.h index be196aaef..dc42aee4d 100644 --- a/core/imagedownloader.h +++ b/core/imagedownloader.h @@ -20,6 +20,7 @@ private: }; class SHashedImage : public QImage { + bool load(const QString &fileName, const char *format=nullptr); public: SHashedImage(struct picture *picture); }; |