summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2018-12-18 16:49:20 +0300
committerAlexander Volkov <a.volkov@rusbitech.ru>2018-12-24 16:51:14 +0000
commitf05cc4144e06fd06eed12a3e427eb49e7ad1cf85 (patch)
tree6f2e346e2aa581777f517cf888ecd897a9ec2e21 /src/corelib
parentff835a5030f3ec0aaa91ad0332739ca3259804e8 (diff)
QDialog: Pass transient parent as a parent to native dialogs
Sometimes it's needed to show a native dialog for another process, for example in xdg-desktop-portal-kde. In this case we have WId of a parent window which can be used for calling QWindow::setTransientParent(QWindow::fromWinId(...)). Pass this transient parent to a native dialog so it could use it as a transient parent for itself. Rename QDialogPrivate::parentWindow() for clarity. Change-Id: I68974ddea35f9366a0ddffe602d9d028f45e26fa Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions