##// END OF EJS Templates
Minor fix.
Marek Rosa -
r1694:8ec588a26fd8
parent child
Show More
@@ -91,6 +91,7 void PieSliceItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* /*op
91 91 }else if (m_data.m_labelPosition == QPieSlice::LabelOutside) {
92 92 painter->setClipRect(parentItem()->boundingRect());
93 93 painter->strokePath(m_labelArmPath, m_data.m_labelBrush.color());
94 painter->drawText(m_labelTextRect, Qt::AlignCenter, m_data.m_labelText);
94 95 } else { // QPieSlice::LabelInside
95 96 painter->setClipPath(m_slicePath);
96 97 painter->drawText(m_labelTextRect, Qt::AlignCenter, m_data.m_labelText);
General Comments 0
You need to be logged in to leave comments. Login now