diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-03-02 22:02:33 +0100 |
---|---|---|
committer | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-07 00:13:35 +0200 |
commit | 83d10ce89a1544044ea907e39f498183adb554f2 (patch) | |
tree | 03e92f96bfa3f4d06fec242d39bff0dd3343e173 /profile-widget/profilewidget2.h | |
parent | c2d98b378b06420600af479dc561bf5f55126ebb (diff) | |
download | subsurface-83d10ce89a1544044ea907e39f498183adb554f2.tar.gz |
cleanup: use lambda to transport event-time to context menu actions
This is not such a big gain as for addDivemodeSwitch(), but still
simpler. Therefore, let's do it for consistency.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/profilewidget2.h')
-rw-r--r-- | profile-widget/profilewidget2.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index 4d47cb622..342032567 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -115,9 +115,6 @@ slots: // Necessary to call from QAction's signals. void removePictures(const QVector<QString> &fileUrls); void setPlanState(); void setAddState(); - void addSetpointChange(); - void splitDive(); - void addBookmark(); void hideEvents(); void unhideEvents(); void removeEvent(); @@ -175,6 +172,9 @@ private: void clearPictures(); void plotPicturesInternal(const struct dive *d, bool synchronous); void addDivemodeSwitch(int seconds, int divemode); + void addBookmark(int seconds); + void splitDive(int seconds); + void addSetpointChange(int seconds); private: DivePlotDataModel *dataModel; int zoomLevel; |