summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qwindow.cpp')
-rw-r--r--src/gui/kernel/qwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp
index f30a794b55..d6f0aab50d 100644
--- a/src/gui/kernel/qwindow.cpp
+++ b/src/gui/kernel/qwindow.cpp
@@ -360,6 +360,8 @@ void QWindow::setParent(QWindow *parent)
}
d->parentWindow = parent;
+
+ QGuiApplicationPrivate::updateBlockedStatus(this);
}
/*!
@@ -784,6 +786,8 @@ void QWindow::setTransientParent(QWindow *parent)
{
Q_D(QWindow);
d->transientParent = parent;
+
+ QGuiApplicationPrivate::updateBlockedStatus(this);
}
/*!