change return by break and then add a common return
removing dead code (part of review 103323)
This commit is contained in:
parent
be08974bfe
commit
2c5ec1a56a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user