Fix build on Mac OS X.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-06-05 21:22:51 +03:00
parent 5c4f45397d
commit e4099ec4ed

View File

@ -182,7 +182,7 @@ void VTextGraphicsItem::paint(QPainter *painter, const QStyleOptionGraphicsItem
}
painter->setFont(fnt);
painter->drawText(0, iY, iW, fm.height(), tl.m_eAlign, qsText);
painter->drawText(0, iY, iW, fm.height(), static_cast<int>(tl.m_eAlign), qsText);
iY += fm.height() + m_tm.GetSpacing();
}