@@ -83,6 +83,7 void ChartBackground::paint(QPainter *painter, const QStyleOptionGraphicsItem *o | |||||
83 |
|
83 | |||
84 | int ChartBackground::roundness(qreal size) const |
|
84 | int ChartBackground::roundness(qreal size) const | |
85 | { |
|
85 | { | |
|
86 | if(qFuzzyIsNull(size)) return 0; | |||
86 | return 100*m_diameter/int(size); |
|
87 | return 100*m_diameter/int(size); | |
87 | } |
|
88 | } | |
88 |
|
89 |
General Comments 0
You need to be logged in to leave comments.
Login now