diff options
author | Jan Grulich <jgrulich@redhat.com> | 2018-05-23 09:06:46 +0200 |
---|---|---|
committer | Jan Grulich <jgrulich@redhat.com> | 2018-05-24 15:55:38 +0000 |
commit | b743835f50914df594f79ae06968d1b2bb7a855c (patch) | |
tree | fcbfa90e48ab4401917f1e7591ab2168f9250728 /src/corelib/global/qprocessordetection.h | |
parent | f82e5085169876e0ec7c1b744d021b068c281cfe (diff) |
Open native file dialog inside sandbox when opening directories
Flatpak FileChooser portal doesn't support opening and exporting
directories to the sandbox as it's not technically possible. Files are
simply exported through document-portal, but directories are a different
story. We have to, in case we want to open a directory, use native file
dialog provided by platform theme we have loaded into flatpak platform
theme. Applications which need to open directories to be able to work,
like IDEs, music players, will have enabled access ho host's filesystem
anyway so it's fine to open a file dialog inside sandbox.
[ChangeLog][Linux] QFileDialog will use the native dialogs provided by
the platform theme instead of trying to use Flatpak portal to select
directories.
Change-Id: I0716193bb9878aa621b8ca88506f87c72f690887
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qprocessordetection.h')
0 files changed, 0 insertions, 0 deletions