aboutsummaryrefslogtreecommitdiffstats
path: root/profile-widget/profilewidget2.h
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget/profilewidget2.h')
-rw-r--r--profile-widget/profilewidget2.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h
index c7db09a92..2640fb85a 100644
--- a/profile-widget/profilewidget2.h
+++ b/profile-widget/profilewidget2.h
@@ -236,10 +236,12 @@ private:
offset_t offset;
QString filename;
std::unique_ptr<DivePictureItem> thumbnail;
- PictureEntry (offset_t offsetIn, const QString &filenameIn);
+ PictureEntry (offset_t offsetIn, const QString &filenameIn, QGraphicsScene *scene);
bool operator< (const PictureEntry &e) const;
};
+ void updateThumbnailXPos(PictureEntry &e);
std::vector<PictureEntry> pictures;
+ void calculatePictureYPositions();
QList<DiveHandler *> handles;
void repositionDiveHandlers();