For QWindow we need topLevelExtra to be created when we have
native widgets (cherry picked from commit 247088f8fe929d55832f48af3da6f7e5e80cf8a4)
This commit is contained in:
parent
d8784df713
commit
d72a994a06
@ -10782,6 +10782,9 @@ void QWidget::setAttribute(Qt::WidgetAttribute attribute, bool on)
|
||||
QApplication::sendEvent(this, &e);
|
||||
break; }
|
||||
case Qt::WA_NativeWindow: {
|
||||
#if defined(Q_WS_QPA)
|
||||
d->createTLExtra();
|
||||
#endif
|
||||
#ifndef QT_NO_IM
|
||||
QWidget *focusWidget = d->effectiveFocusWidget();
|
||||
QInputContext *ic = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user