mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
376b737891
commit
d9df8c3f47
2 changed files with 12 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ private:
|
|||
};
|
||||
|
||||
class SHashedImage : public QImage {
|
||||
bool load(const QString &fileName, const char *format=nullptr);
|
||||
public:
|
||||
SHashedImage(struct picture *picture);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue