Touch fix for popups blocked by modal dialog
Don't block the event that Qt depends on to close popups.
This is the same fix as 5b65698248,
but for touch this time.
Task-number: QTBUG-57292
Change-Id: I47bc19883c2e2b5dc9615c12dc6c198193c055cf
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
bb10
parent
3a9801d568
commit
f9b1ec2d79
|
|
@ -2595,7 +2595,7 @@ void QGuiApplicationPrivate::processTouchEvent(QWindowSystemInterfacePrivate::To
|
|||
break;
|
||||
}
|
||||
|
||||
if (w->d_func()->blockedByModalWindow) {
|
||||
if (w->d_func()->blockedByModalWindow && !qApp->d_func()->popupActive()) {
|
||||
// a modal window is blocking this window, don't allow touch events through
|
||||
|
||||
// QTBUG-37371 temporary fix; TODO: revisit in 5.4 when we have a forwarding solution
|
||||
|
|
|
|||
Loading…
Reference in New Issue