diff options
author | Jan Grulich <jgrulich@redhat.com> | 2018-01-15 08:40:36 +0100 |
---|---|---|
committer | Jan Grulich <jgrulich@redhat.com> | 2018-02-02 05:54:43 +0000 |
commit | e8bf3a2ce7fcc153fbb9732b02b51167c5c4aaf5 (patch) | |
tree | 6e04f822521be98ac148825d672e16bff7676489 /src/corelib | |
parent | ac0ad5c69ce9a00ebe5377da40a26b43353fae58 (diff) |
Fix opening of flatpak FileChooser portal
My assumption before was that show() method calls exec(), but it seems
to be vice-versa and so QML applications using QFileDialog were not able
to open dialogs as they use visible property, which in turn calls show()
method. I made the show() method to call new openPortal() method where
I moved the actuall DBus call from exec() method. The exec() method now
internally calls show(), at least this is my assumption and it seems to
behave like that from my testing.
Change-Id: I27a5b0198e9ff1a9ea031f9ae45b57ceae99c6ae
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions