Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
QWidget *QWidget::focusWidget() const
{
- return const_cast<QWidget *>(d_func()->focus_child);
+ return d_func()->focus_child;
}
/*!
*/
QWidget *QWidget::nextInFocusChain() const
{
- return const_cast<QWidget *>(d_func()->focus_next);
+ return d_func()->focus_next;
}
/*!
*/
QWidget *QWidget::previousInFocusChain() const
{
- return const_cast<QWidget *>(d_func()->focus_prev);
+ return d_func()->focus_prev;
}
/*!