Fixed build on Mac OS X.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-05-20 18:55:21 +03:00
parent f4595dc319
commit 5e6752793e
2 changed files with 2 additions and 9 deletions

View File

@ -101,13 +101,7 @@ VPointF &VPointF::operator =(const VPointF &point)
}
//---------------------------------------------------------------------------------------------------------------------
VPointF::operator const QPointF() const
{
return toQPointF();
}
//---------------------------------------------------------------------------------------------------------------------
VPointF::operator QPointF()
VPointF::operator QPointF() const
{
return toQPointF();
}

View File

@ -58,8 +58,7 @@ public:
const Draw &mode = Draw::Calculation);
virtual ~VPointF() Q_DECL_OVERRIDE;
VPointF &operator=(const VPointF &point);
operator QPointF();
operator const QPointF() const;
operator QPointF() const;
VPointF Rotate(const QPointF &originPoint, qreal degrees, const QString &prefix = QString()) const;
qreal mx() const;
qreal my() const;