From ebb342c969fab99d1c497b24f5511ebb427cdc92 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 13 Apr 2020 19:41:30 +0200 Subject: cleanup: turn protected into private members Some profilewidget classes hat protected members which can be made private as there is no subclassing. Signed-off-by: Berthold Stoeger --- profile-widget/ruleritem.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'profile-widget/ruleritem.h') diff --git a/profile-widget/ruleritem.h b/profile-widget/ruleritem.h index dd028fc1f..14cdbe36f 100644 --- a/profile-widget/ruleritem.h +++ b/profile-widget/ruleritem.h @@ -21,9 +21,8 @@ public: void setPlotInfo(const struct plot_info &info); void recalculate(); -protected: - void mouseMoveEvent(QGraphicsSceneMouseEvent *event) override; private: + void mouseMoveEvent(QGraphicsSceneMouseEvent *event) override; struct plot_info pInfo; int idx; RulerItem2 *ruler; -- cgit v1.2.3-70-g09d2