Deleted unnecessary class member

--HG--
branch : feature
This commit is contained in:
BojanKverh 2016-08-03 00:44:22 +02:00
parent 192bd7e7d5
commit f56614966b
2 changed files with 1 additions and 3 deletions

View File

@ -54,7 +54,7 @@
VTextGraphicsItem::VTextGraphicsItem(QGraphicsItem* pParent) VTextGraphicsItem::VTextGraphicsItem(QGraphicsItem* pParent)
:QGraphicsObject(pParent), m_eMode(VTextGraphicsItem::mNormal), m_bReleased(false), :QGraphicsObject(pParent), m_eMode(VTextGraphicsItem::mNormal), m_bReleased(false),
m_ptStartPos(), m_ptStart(), m_ptRotCenter(), m_szStart(), m_dRotation(0), m_dAngle(0), 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)); m_rectBoundingBox.setTopLeft(QPointF(0, 0));
SetSize(MIN_W, m_iMinH); SetSize(MIN_W, m_iMinH);
@ -161,7 +161,6 @@ void VTextGraphicsItem::Reset()
{ {
m_eMode = mNormal; m_eMode = mNormal;
m_bReleased = false; m_bReleased = false;
m_bResizeCursor = false;
Update(); Update();
setZValue(TOP_Z); setZValue(TOP_Z);
} }

View File

@ -102,7 +102,6 @@ private:
int m_iMinH; int m_iMinH;
QRectF m_rectBoundingBox; QRectF m_rectBoundingBox;
VTextManager m_tm; VTextManager m_tm;
bool m_bResizeCursor;
QRectF GetBoundingRect(QRectF rectBB, qreal dRot) const; QRectF GetBoundingRect(QRectF rectBB, qreal dRot) const;
}; };