From f2d1b4b9160d3c630227bac3cad0b8dc640080f9 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 17 Sep 2017 09:17:37 +0300 Subject: [PATCH] Forgot to refactor this name. --HG-- branch : feature --- src/libs/vgeometry/vpointf.cpp | 2 +- src/libs/vgeometry/vpointf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/vgeometry/vpointf.cpp b/src/libs/vgeometry/vpointf.cpp index 3812244af..369d2cb12 100644 --- a/src/libs/vgeometry/vpointf.cpp +++ b/src/libs/vgeometry/vpointf.cpp @@ -221,7 +221,7 @@ bool VPointF::IsShowLabel() const } //--------------------------------------------------------------------------------------------------------------------- -void VPointF::SetHideLabel(bool hide) +void VPointF::SetShowLabel(bool hide) { d->m_showLabel = hide; } diff --git a/src/libs/vgeometry/vpointf.h b/src/libs/vgeometry/vpointf.h index ce0ebb13c..c4468eced 100644 --- a/src/libs/vgeometry/vpointf.h +++ b/src/libs/vgeometry/vpointf.h @@ -83,7 +83,7 @@ public: void setY(const qreal &value); bool IsShowLabel() const; - void SetHideLabel(bool hide); + void SetShowLabel(bool hide); static QPointF RotatePF(const QPointF &originPoint, const QPointF &point, qreal degrees); static QPointF FlipPF(const QLineF &axis, const QPointF &point);