mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f8f8735cfe
commit
a741f505ca
2 changed files with 40 additions and 19 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue