##// END OF EJS Templates
Do not use black color from theme for pie. Looks bad.
Jani Honkonen -
r340:453e14b4b468
parent child
Show More
@@ -190,6 +190,10 void ChartTheme::decorate(PiePresenter* item, QPieSeries* series, int /*count*/)
190 QColor c = m_seriesColor[i++];
190 QColor c = m_seriesColor[i++];
191 i = i % m_seriesColor.count();
191 i = i % m_seriesColor.count();
192
192
193 // dont use black colors... looks bad
194 if (c == Qt::black)
195 continue;
196
193 // by default use the "raw" theme color
197 // by default use the "raw" theme color
194 if (!colors.contains(c)) {
198 if (!colors.contains(c)) {
195 colors << c;
199 colors << c;
General Comments 0
You need to be logged in to leave comments. Login now