Hi,

in fact returned path is correct now in the Qt4.5.0. But there is still the bug of default file name that is 'untitled' instead of 'NewFile.txt' in the previous sample program (see attached file)

<<inline: Picture 1.png>>




Regards,

Julien

On Mar 11, 2009, at 3:36 PM, Richard wrote:

Are you sure? I tested the example below just now (on OS 10.5), both
carbon and cocoa version. It works just fine here...
Do you get the exact same results as last time?

-Richard

--------------------------

#include <QtGui>

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
const QString defaultSaveFile = QDir::homePath () + "/ NewFile.txt";
    qDebug() << defaultSaveFile;
    QString result = QFileDialog::getSaveFileName ( NULL, "Test save
dialog", defaultSaveFile,"Text file (*.txt)");

    qDebug() << result;
}


Den Mar 11, 2009 kl. 3:23 PM skrev Julien Bachmann:

Hi,

it seems problem was fixed in snapshot of 24 of February but it
reappeared on the QT 4.5.0 release.

Thanks,

Regards,

Julien

On Feb 23, 2009, at 2:55 PM, Richard wrote:

Hi! Thanks for the feedback (and sorry for the late reply)

This issue is fixed for Qt-4.5.0.

-Richard




Den Feb 17, 2009 kl. 9:34 AM skrev Christoph Mockenhaupt:

Hi,

The problem is only on Mac OSX (10.5). It works well under Windows
XP.

I can confirm that this problem also exists on 10.4 in RC1. I
noticed this
problem in the snapshots prior to RC1, too.

--
Christoph
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to