@@ -89,7 +89,7 void DonutBreakdownChart::recalculateAngles() | |||||
89 | void DonutBreakdownChart::updateLegendMarkers() |
|
89 | void DonutBreakdownChart::updateLegendMarkers() | |
90 | { |
|
90 | { | |
91 | // go through all markers |
|
91 | // go through all markers | |
92 |
foreach (QAbstractSeries *series, |
|
92 | foreach (QAbstractSeries *series, series()) { | |
93 | foreach (QLegendMarker *marker, legend()->markers(series)) { |
|
93 | foreach (QLegendMarker *marker, legend()->markers(series)) { | |
94 | QPieLegendMarker *pieMarker = qobject_cast<QPieLegendMarker *>(marker); |
|
94 | QPieLegendMarker *pieMarker = qobject_cast<QPieLegendMarker *>(marker); | |
95 | if (series == m_mainSeries) { |
|
95 | if (series == m_mainSeries) { |
General Comments 0
You need to be logged in to leave comments.
Login now