diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-06-05 14:04:24 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-12-09 17:17:56 +0100 |
commit | e756a570cc18427a4ad61af15c42e3d8d54beb13 (patch) | |
tree | 49e3294a22dc67a6410d7c5dd051ce27f9a64bd2 /vcl/headless/svpgdi.cxx | |
parent | 34d5b03d8f323e6af33e2358b898a5843596f4ea (diff) |
tdf#129071 Qt5 set file picker parent widget
If the XInitialization::initialize has a parent option, use that
system window ID to find the parent Qt5Frame and set this as the
parent of the file picker. This way the file picker doesn't show
up as a separate window in the KDE task bar and get the proper
icon. Just setting it transient to the parent is not enough.
This also includes the terminate listener handling, so an open
file picker won't prevent LO to shut down gracefully (which is
handled independent from the document modified state).
Change-Id: I62aef532e739e7fea9fe8a4b4e6c0e205faae1d9
Reviewed-on: https://gerrit.libreoffice.org/74544
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
(cherry picked from commit d79a41a02cd46c50cab08ba1a5d5b213b6843251)
Reviewed-on: https://gerrit.libreoffice.org/84756
Diffstat (limited to 'vcl/headless/svpgdi.cxx')
0 files changed, 0 insertions, 0 deletions