change return by break and then add a common return

removing dead code (part of review 103323)
This commit is contained in:
Jaime Torres 2011-12-04 12:27:01 +01:00
parent be08974bfe
commit 2c5ec1a56a

View File

@ -303,12 +303,13 @@ QRect Style::subControlRect(ComplexControl control, const QStyleOptionComplex *o
rect.moveCenter(QPoint(option->rect.center().x(), rect.center().y()));
}
}
return rect;
break;
}
default:
return rect;
break;
}
return rect;
}
int Style::styleHint(StyleHint hint, const QStyleOption *option, const QWidget *widget, QStyleHintReturn *returnData) const