##// END OF EJS Templates
XY model mappers: removed wrongly placed return statements
Marek Rosa -
r1920:aa0ef72ce5c4
parent child
Show More
@@ -183,7 +183,7 int QHXYModelMapper::xRow() const
183 183 void QHXYModelMapper::setXRow(int xRow)
184 184 {
185 185 if (xRow != xSection()) {
186 return QXYModelMapper::setXSection(xRow);
186 QXYModelMapper::setXSection(xRow);
187 187 emit xRowChanged();
188 188 }
189 189 }
@@ -196,7 +196,7 int QHXYModelMapper::yRow() const
196 196 void QHXYModelMapper::setYRow(int yRow)
197 197 {
198 198 if (yRow != ySection()) {
199 return QXYModelMapper::setYSection(yRow);
199 QXYModelMapper::setYSection(yRow);
200 200 emit yRowChanged();
201 201 }
202 202 }
@@ -183,7 +183,7 int QVXYModelMapper::xColumn() const
183 183 void QVXYModelMapper::setXColumn(int xColumn)
184 184 {
185 185 if (xColumn != xSection()) {
186 return QXYModelMapper::setXSection(xColumn);
186 QXYModelMapper::setXSection(xColumn);
187 187 emit xColumnChanged();
188 188 }
189 189 }
@@ -196,7 +196,7 int QVXYModelMapper::yColumn() const
196 196 void QVXYModelMapper::setYColumn(int yColumn)
197 197 {
198 198 if (yColumn != ySection()) {
199 return QXYModelMapper::setYSection(yColumn);
199 QXYModelMapper::setYSection(yColumn);
200 200 emit yColumnChanged();
201 201 }
202 202 }
General Comments 0
You need to be logged in to leave comments. Login now