From e7b5955be08369ebb5245a53186600a9ebf1a0ed Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 2 Mar 2020 22:48:12 +0100 Subject: cleanup: demote slots in ProfileWidget2 to private functions Since we call these with lambdas, they don't need to be slots anymore. Signed-off-by: Berthold Stoeger --- profile-widget/profilewidget2.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index bc049781d..0c1db3f62 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -115,10 +115,6 @@ slots: // Necessary to call from QAction's signals. void removePictures(const QVector &fileUrls); void setPlanState(); void setAddState(); - void unhideEvents(); - void makeFirstDC(); - void deleteCurrentDC(); - void splitCurrentDC(); void pointInserted(const QModelIndex &parent, int start, int end); void pointsRemoved(const QModelIndex &, int start, int end); void updateThumbnail(QString filename, QImage thumbnail, duration_t duration); @@ -175,6 +171,10 @@ private: void removeEvent(DiveEventItem *item); void hideEvents(DiveEventItem *item); void editName(DiveEventItem *item); + void unhideEvents(); + void makeFirstDC(); + void deleteCurrentDC(); + void splitCurrentDC(); private: DivePlotDataModel *dataModel; int zoomLevel; -- cgit v1.2.3-70-g09d2