Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.3
-
Linux
Description
If you use QFileDialog::getSaveFileName() then you can use ~ to define your home directory (e.g. ~/myNewFile).
If I call the getSaveFileName() function with DontUseNativeDialog flag then it do not understand ~. If using the DontUseNativeDialog flag then it launches QFileDialog by using exec() and gets the filename by using dialog.selectedFiles().value(0) function.
I'm using GTK+ style.
Check the attached example application.