@@ -70,8 +70,9 QVariant PieSliceAnimation::interpolated(const QVariant &start, const QVariant & | |||||
70 |
|
70 | |||
71 | void PieSliceAnimation::updateCurrentValue(const QVariant &value) |
|
71 | void PieSliceAnimation::updateCurrentValue(const QVariant &value) | |
72 | { |
|
72 | { | |
|
73 | PieSliceLayout layout = qVariantValue<PieSliceLayout>(value); | |||
73 | if (state() != QAbstractAnimation::Stopped) //workaround |
|
74 | if (state() != QAbstractAnimation::Stopped) //workaround | |
74 |
m_item->setLayout( |
|
75 | m_item->setLayout(layout); | |
75 | } |
|
76 | } | |
76 |
|
77 | |||
77 | QTCOMMERCIALCHART_END_NAMESPACE |
|
78 | QTCOMMERCIALCHART_END_NAMESPACE |
General Comments 0
You need to be logged in to leave comments.
Login now