mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: pass dive to ToolTipItem::refresh()
Don't access the global displayed_dive variable in a step to make the profile reentrant. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
193513a61f
commit
54e8fe5d9e
5 changed files with 10 additions and 10 deletions
|
|
@ -36,7 +36,7 @@ public:
|
|||
void expand();
|
||||
void clear();
|
||||
void addToolTip(const QString &toolTip, const QIcon &icon = QIcon(), const QPixmap &pixmap = QPixmap());
|
||||
void refresh(const QPointF &pos);
|
||||
void refresh(const dive *d, const QPointF &pos);
|
||||
bool isExpanded() const;
|
||||
void persistPos();
|
||||
void readPos();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue