Add API to register app ID#183
Conversation
GeorgesStavracas
left a comment
There was a problem hiding this comment.
LGTM, the only thing I think is missing is the documentation blocks for introspection.
|
Tweaked the qt examples a bit. The qt5 one now plumbs the app Id via |
These are no-ops when running under flatpak or snap, but when running on the host, they will call Register() on org.freedesktop.host.portal.Registry.
|
Does this mean it would be more correct to call them as |
Exactly |
smcv
left a comment
There was a problem hiding this comment.
Please check whether the Qt code paths can be improved based on what @ilya-fedin said
|
The following members are static in
The can be called by any of the Qt Application types set / get the needed info |
|
Any idea whats up with this PR ? it looks like we will need an appid to use the hotkey portal |
Meant to be used by host apps to more reliably get an app ID. See flatpak/xdg-desktop-portal#1521.