From 1a4e98ae768d25f46f72ded9d04e35030085c791 2012-07-03 15:06:10 From: Marek Rosa Date: 2012-07-03 15:06:10 Subject: [PATCH] minor fix --- diff --git a/src/barchart/qbarset.cpp b/src/barchart/qbarset.cpp index 0d50c2a..dd0f32a 100644 --- a/src/barchart/qbarset.cpp +++ b/src/barchart/qbarset.cpp @@ -283,7 +283,7 @@ void QBarSet::append(const qreal value) // Convert to QPointF int index = d_ptr->m_values.count(); d_ptr->append(QPointF(d_ptr->m_values.count(), value)); - emit valuesAdded(index,1); + emit valuesAdded(index, 1); } /*! diff --git a/tests/auto/qbarmodelmapper/tst_qbarmodelmapper.cpp b/tests/auto/qbarmodelmapper/tst_qbarmodelmapper.cpp index 62390a4..3cedbbb 100644 --- a/tests/auto/qbarmodelmapper/tst_qbarmodelmapper.cpp +++ b/tests/auto/qbarmodelmapper/tst_qbarmodelmapper.cpp @@ -365,7 +365,7 @@ void tst_qbarmodelmapper::seriesUpdated() newBarSet_1->append(103); newBarSets.append(newBarSet_1); - QBarSet* newBarSet_2 = new QBarSet("New_1"); + QBarSet* newBarSet_2 = new QBarSet("New_2"); newBarSet_2->append(201); newBarSet_2->append(202); newBarSet_2->append(203);