forked from qt-creator/qt-creator
Fixes: Fix line edit focus on MacStyle
Task: 242757 RevBy: twschulz Details: Mac style reimplements QStyle::event, hence we need to pass it on.
This commit is contained in:
@@ -1054,3 +1054,11 @@ void ManhattanStyle::drawComplexControl(ComplexControl control, const QStyleOpti
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Mac style reimplements this to control the
|
||||
// focus widget among other things
|
||||
bool ManhattanStyle::event(QEvent *e)
|
||||
{
|
||||
Q_ASSERT(d->style);
|
||||
return d->style->event(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user