summaryrefslogtreecommitdiffstats
path: root/doc/global/externalsites
diff options
context:
space:
mode:
authorMichael BrĂ¼ning <michael.bruning@qt.io>2017-03-28 17:12:44 +0200
committerMichael BrĂ¼ning <michael.bruning@qt.io>2017-03-29 12:25:00 +0000
commit78f761318a20f320e04a8439101d429136fe3d0a (patch)
tree9655e575183e12c9dbb4cae1c5aef0416f3161ac /doc/global/externalsites
parentff259bffe6b1d09dfec2f56f6c9a4a326ff8e98a (diff)
Set the mode for the GTK3 file chooser also in selectFile
If the mode is not GTK_FILE_CHOOSER_ACTION_SAVE or GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER , a GTK warning will be generated which makes Qt WebEngine's Glib error handler assert. Doing so only when showing the dialog is too late. This patch moves the actual file selection to a private method that can be called from both selectFile and applyOptions in order to prevent overwriting the file chooser action potentially multiple times. Task-number: QTBUG-59692 Change-Id: Ied939248cdc3a0b4c9e8239ab61ba617a46b8496 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'doc/global/externalsites')
0 files changed, 0 insertions, 0 deletions