##// END OF EJS Templates
Small code comments fixes
Marek Rosa -
r1880:a21a3c098ff7
parent child
Show More
@@ -50,7 +50,6 public:
50 50 qreal startValue(const QString& categoryLabel = QString()) const;
51 51 void setStartValue(qreal min);
52 52
53 // qreal startValue(const QString& categoryLabel) const;
54 53 qreal endValue(const QString& categoryLabel) const;
55 54
56 55 QStringList categoriesLabels();
@@ -428,7 +428,7 void QXYModelMapperPrivate::insertData(int start, int end)
428 428 }
429 429 }
430 430
431 // remove excess of slices (abouve m_count)
431 // remove excess of points (above m_count)
432 432 if (m_count != -1 && m_series->points().size() > m_count)
433 433 for (int i = m_series->points().size() - 1; i >= m_count; i--) {
434 434 m_series->remove(m_series->points().at(i));
@@ -484,7 +484,7 void QXYModelMapperPrivate::initializeXYFromModel()
484 484 // clear current content
485 485 m_series->clear();
486 486
487 // create the initial slices set
487 // create the initial points set
488 488 int pointPos = 0;
489 489 QModelIndex xIndex = xModelIndex(pointPos);
490 490 QModelIndex yIndex = yModelIndex(pointPos);
General Comments 0
You need to be logged in to leave comments. Login now