summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--profile-widget/profilewidget2.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h
index 43a7f51b6..e00bda074 100644
--- a/profile-widget/profilewidget2.h
+++ b/profile-widget/profilewidget2.h
@@ -134,7 +134,7 @@ slots: // Necessary to call from QAction's signals.
void divePlannerHandlerReleased();
#endif
-protected:
+private:
void resizeEvent(QResizeEvent *event) override;
#ifndef SUBSURFACE_MOBILE
void wheelEvent(QWheelEvent *event) override;
@@ -148,7 +148,6 @@ protected:
void dragEnterEvent(QDragEnterEvent *event) override;
void dragMoveEvent(QDragMoveEvent *event) override;
-private:
void changeGas(int tank, int seconds);
void fixBackgroundPos();
void scrollViewTo(const QPoint &pos);
@@ -174,7 +173,7 @@ private:
void makeFirstDC();
void deleteCurrentDC();
void splitCurrentDC();
-private:
+
DivePlotDataModel *dataModel;
int zoomLevel;
qreal zoomFactor;