Commit dc84c45c926f0e50c0fd8c29a107898c23c70c70
1 parent
7b58c21e
Added gallerySize for DefaultGallery
Showing
1 changed file
with
5 additions
and
0 deletions
openbr/plugins/gallery.cpp
| ... | ... | @@ -575,6 +575,11 @@ class DefaultGallery : public Gallery |
| 575 | 575 | QScopedPointer<Format> format(Factory<Format>::make(file)); |
| 576 | 576 | format->write(t); |
| 577 | 577 | } |
| 578 | + | |
| 579 | + qint64 totalSize() | |
| 580 | + { | |
| 581 | + return 1; | |
| 582 | + } | |
| 578 | 583 | }; |
| 579 | 584 | |
| 580 | 585 | BR_REGISTER(Gallery, DefaultGallery) | ... | ... |