[Qt-interest] QFileDialog::getSaveFileName misbehaving ?

Dan White ygor at comcast.net
Sat Aug 15 19:50:46 CEST 2009


Or I am doing something wrong.
Qt 4.5.2 on MacOS 10.4.11

Here is the statement of code:

QString fileName = QFileDialog::getSaveFileName(this, tr("Save PDF  
File"), "outputFile.pdf", tr("Images(*.pdf)") ) ;

It looks correct to me, based on looking at Qt Assistant.

I am not getting the default file name.
I recall this behaving in previous builds.



More information about the Qt-interest-old mailing list