diff options
| author | David Redondo <qt@david-redondo.de> | 2025-01-28 16:53:16 +0100 |
|---|---|---|
| committer | David Redondo <qt@david-redondo.de> | 2025-10-10 15:24:37 +0200 |
| commit | 9e4c03f4c9af4a64e82ce257508b512b82abbba2 (patch) | |
| tree | a9322fd606cbbfd17113c209f180b42544c7cf42 /src/gui/util/qundostack.cpp | |
| parent | 0899651c8c0a827a90bad2bd31216b7b239a9807 (diff) | |
QDesktopUnixServices: Register with host app registry
This is useful when accessing portal APIs when not
sandboxed as it allows the portal to display info
which app is making the request. For example the dialog
that will be shown when QScreenCapture goes through the portal
can show the app name.
We need to do this as it can only be set before making
any call to the portal at all which are done here for color picking
or by the relevant platformthemes for settings.
See the paragraph at the top of
https://flatpak.github.io/xdg-desktop-portal/docs/api-reference.html and
https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.host.portal.Registry.html
Fixes: QTBUG-133401
Pick-to: 6.10
Change-Id: Ie55c371c6a19b3197f7798ee6233c2f19b18a6f6
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Diffstat (limited to 'src/gui/util/qundostack.cpp')
0 files changed, 0 insertions, 0 deletions
