diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-13 19:41:30 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-04-13 17:18:37 -0700 |
commit | ebb342c969fab99d1c497b24f5511ebb427cdc92 (patch) | |
tree | cad17108728de5f17441a4b2f80acb0b26f85d61 /profile-widget/ruleritem.h | |
parent | fc697538faff60bfb72e3bf62d45a7a629fd9640 (diff) | |
download | subsurface-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.h | 3 |
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; |