qt5base-lts/src/plugins/platformthemes
Shawn Rutledge 2ad9e69a9f 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>
2014-08-06 17:10:07 +02:00
..
gtk2 GTK file dialog: pre-fill the filename if given to a Save dialog 2014-08-06 17:10:07 +02:00
platformthemes.pro Introduce a native color dialog for GTK+ 2.x 2013-02-01 19:39:31 +01:00