mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: don't recreate picture thumbnails on zoom / scroll
The picture thumbnails were recreated on every profile render, even when zooming / scrolling. In that case, we should only change the positions. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
71629521b7
commit
51be326879
2 changed files with 11 additions and 1 deletions
|
|
@ -126,6 +126,7 @@ private:
|
|||
void addActionShortcut(const Qt::Key shortcut, void (ProfileWidget2::*slot)());
|
||||
void clearPictures();
|
||||
void plotPicturesInternal(const struct dive *d, bool synchronous);
|
||||
void updateThumbnails();
|
||||
void addDivemodeSwitch(int seconds, int divemode);
|
||||
void addBookmark(int seconds);
|
||||
void splitDive(int seconds);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue