summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorJan Grulich <jgrulich@redhat.com>2018-06-06 17:22:38 +0200
committerJan Grulich <jgrulich@redhat.com>2018-06-06 18:05:18 +0000
commit792298e42d99fe0251608381ea751ab85154d6be (patch)
treed4ebe98e6e2ef44433e6a4bb7e6ad30148ab63a4 /src/corelib
parent85a771b89d425950fdd51cf758c52885390ab674 (diff)
Keep native file dialog updated with current options
When doing calls on native file dialog, we might end up calling an implementation which will cause crash in case we don't have all options loaded in the native file dialog. Imagine scenario when you want to save a file, it sets acceptMode() to QFileDialogOptions::AcceptSave, which is set to our flatpak file dialog, but not passed through to the native one loaded inside. Then method calls like selectFile() might crash, like in case of Gtk3 dialog, because its implementation asks for acceptMode, but it's not set yet and thus we end up with crash. Change-Id: I7a4239cb8b46ff6b08e2cfc1dd6abb9d9600aef8 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions