From e4099ec4ed5a403e1a3382de6ab8697b7a12bdd1 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 5 Jun 2017 21:22:51 +0300 Subject: [PATCH] Fix build on Mac OS X. --HG-- branch : develop --- src/libs/vwidgets/vtextgraphicsitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vwidgets/vtextgraphicsitem.cpp b/src/libs/vwidgets/vtextgraphicsitem.cpp index adb284ee0..881774320 100644 --- a/src/libs/vwidgets/vtextgraphicsitem.cpp +++ b/src/libs/vwidgets/vtextgraphicsitem.cpp @@ -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(tl.m_eAlign), qsText); iY += fm.height() + m_tm.GetSpacing(); }