parentHasFocus false if Qt::WindowDoesNotAcceptFocus
BUG:334819
This commit is contained in:
parent
5e057da091
commit
09453cfe89
@ -782,7 +782,8 @@ void Dialog::focusOutEvent(QFocusEvent *ev)
|
||||
QWindow *parentWindow = transientParent();
|
||||
|
||||
while (parentWindow) {
|
||||
if (parentWindow->isActive()) {
|
||||
if (parentWindow->isActive() &&
|
||||
!(parentWindow->flags() & Qt::WindowDoesNotAcceptFocus)) {
|
||||
parentHasFocus = true;
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user