summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglversionfunctions.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2014-08-05 12:58:47 +0200
committerShawn Rutledge <shawn.rutledge@digia.com>2014-08-06 17:10:07 +0200
commit2ad9e69a9f9231b5f65a53036ae60bb0abc93609 (patch)
tree3b0834b8c95f71c745c73dd4dcd5d7560cdd30af /src/gui/opengl/qopenglversionfunctions.cpp
parent276036179a112abf45bb433ef3b918ed68b807ff (diff)
GTK file dialog: pre-fill the filename if given to a Save dialog
The docs for gtk_file_chooser_set_filename explain that if a file is new, we should call gtk_file_chooser_set_current_name instead. (But in that case it is necessary to set the directory separately.) Qt doesn't make a distinction between a save dialog for saving a new file vs. a dialog for re-saving an existing file, so it seems this is the better way to do it all the time, since a save dialog would most often be used for saving a new file. Task-number: QTBUG-40573 Change-Id: I285e898fafc54ae39f09d564ca431a279a8f8919 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/gui/opengl/qopenglversionfunctions.cpp')
0 files changed, 0 insertions, 0 deletions