aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/divepicturewidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/divepicturewidget.h')
-rw-r--r--qt-ui/divepicturewidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/divepicturewidget.h b/qt-ui/divepicturewidget.h
index 062e225d7..ff8d1aa8f 100644
--- a/qt-ui/divepicturewidget.h
+++ b/qt-ui/divepicturewidget.h
@@ -16,6 +16,10 @@ public:
void updateDivePictures(int divenr);
private:
int numberOfPictures;
+ // Currently, load the images on the fly
+ // Later, use a thread to load the images
+ // Later, save the thumbnails so we don't need to reopen every time.
+ QHash<QString, QPixmap> stringPixmapCache;
};
class DivePictureDelegate : QStyledItemDelegate {