diff --git a/src/libs/vtools/tools/vtextgraphicsitem.cpp b/src/libs/vtools/tools/vtextgraphicsitem.cpp index e3f13213d..10f392748 100644 --- a/src/libs/vtools/tools/vtextgraphicsitem.cpp +++ b/src/libs/vtools/tools/vtextgraphicsitem.cpp @@ -54,7 +54,7 @@ VTextGraphicsItem::VTextGraphicsItem(QGraphicsItem* pParent) :QGraphicsObject(pParent), m_eMode(VTextGraphicsItem::mNormal), m_bReleased(false), m_ptStartPos(), m_ptStart(), m_ptRotCenter(), m_szStart(), m_dRotation(0), m_dAngle(0), - m_rectResize(), m_iMinH(MIN_H), m_rectBoundingBox(), m_tm(), m_bResizeCursor(false) + m_rectResize(), m_iMinH(MIN_H), m_rectBoundingBox(), m_tm() { m_rectBoundingBox.setTopLeft(QPointF(0, 0)); SetSize(MIN_W, m_iMinH); @@ -161,7 +161,6 @@ void VTextGraphicsItem::Reset() { m_eMode = mNormal; m_bReleased = false; - m_bResizeCursor = false; Update(); setZValue(TOP_Z); } diff --git a/src/libs/vtools/tools/vtextgraphicsitem.h b/src/libs/vtools/tools/vtextgraphicsitem.h index 76c2c324d..d8638eff6 100644 --- a/src/libs/vtools/tools/vtextgraphicsitem.h +++ b/src/libs/vtools/tools/vtextgraphicsitem.h @@ -102,7 +102,6 @@ private: int m_iMinH; QRectF m_rectBoundingBox; VTextManager m_tm; - bool m_bResizeCursor; QRectF GetBoundingRect(QRectF rectBB, qreal dRot) const; };