diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-07-08 21:24:44 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-07-09 09:12:58 -0700 |
commit | a741f505ca7bed5cbad08c83ff911a36a955f5ec (patch) | |
tree | 3924ab3897b49c9ba2fd40fa7d6fdf00f9ab7149 /core/imagedownloader.h | |
parent | f8f8735cfeb81de64c47de2ce84327e7f0b4a61c (diff) | |
download | subsurface-a741f505ca7bed5cbad08c83ff911a36a955f5ec.tar.gz |
Dive pictures: differentiate between IO-error and unknown format
Show different images for IO-error and unknow file format.
Use file-extensions to recognize video files if we couldn't
parse them.
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 e0db016ed..f89f80678 100644 --- a/core/imagedownloader.h +++ b/core/imagedownloader.h @@ -67,6 +67,7 @@ private: QImage failImage; // Shown when image-fetching fails QImage dummyImage; // Shown before thumbnail is fetched QImage videoImage; // Place holder for videos + QImage unknownImage; // Place holder for files where we couldn't determine the type QMap<QString,QFuture<void>> workingOn; }; |