##// END OF EJS Templates
Fix: wrong signal emitted in pie and bar model mappers
Marek Rosa -
r1923:c0ba493b0754
parent child
Show More
@@ -240,7 +240,7 void QHBarModelMapper::setColumnCount(int columnCount)
240 {
240 {
241 if (columnCount != count()) {
241 if (columnCount != count()) {
242 QBarModelMapper::setCount(columnCount);
242 QBarModelMapper::setCount(columnCount);
243 emit firstColumnChanged();
243 emit columnCountChanged();
244 }
244 }
245 }
245 }
246
246
@@ -239,7 +239,7 void QVBarModelMapper::setRowCount(int rowCount)
239 {
239 {
240 if (rowCount != count()) {
240 if (rowCount != count()) {
241 QBarModelMapper::setCount(rowCount);
241 QBarModelMapper::setCount(rowCount);
242 emit firstRowChanged();
242 emit rowCountChanged();
243 }
243 }
244 }
244 }
245
245
@@ -248,7 +248,7 void QHPieModelMapper::setColumnCount(int columnCount)
248 {
248 {
249 if (columnCount != count()) {
249 if (columnCount != count()) {
250 setCount(columnCount);
250 setCount(columnCount);
251 emit firstColumnChanged();
251 emit columnCountChanged();
252 }
252 }
253 }
253 }
254
254
@@ -251,7 +251,7 void QVPieModelMapper::setRowCount(int rowCount)
251 {
251 {
252 if (rowCount != count()) {
252 if (rowCount != count()) {
253 setCount(rowCount);
253 setCount(rowCount);
254 emit firstRowChanged();
254 emit rowCountChanged();
255 }
255 }
256 }
256 }
257
257
General Comments 0
You need to be logged in to leave comments. Login now