aboutsummaryrefslogtreecommitdiffstats
path: root/profile-widget/ruleritem.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-13 19:41:30 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-13 17:18:37 -0700
commitebb342c969fab99d1c497b24f5511ebb427cdc92 (patch)
treecad17108728de5f17441a4b2f80acb0b26f85d61 /profile-widget/ruleritem.h
parentfc697538faff60bfb72e3bf62d45a7a629fd9640 (diff)
downloadsubsurface-ebb342c969fab99d1c497b24f5511ebb427cdc92.tar.gz
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/ruleritem.h')
-rw-r--r--profile-widget/ruleritem.h3
1 files changed, 1 insertions, 2 deletions
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;