Hi All,
I m using Qt 4.2.2 on my Intel mac.
I m using QFileDialog::getExistingDirectory to get the dir to save a file.
(
this, tr
("Open Directory"),
QString::null,
QFileDialog::ShowDirsOnly | FileDialog
::DontResolveSymlinks );
QString s = QFileDialog::getExistingDirectory
(
this, tr("Open Directory"),QString::null,QFileDialog::ShowDirsOnly | FileDialog::DontResolveSymlinks
);
To copy to clipboard, switch view to plain text mode
I have some Issue in this.
1. If I click the cancel button of the dialog it still taking the value of Dir.
2. When I take the value from this Dialog in a String I want that the memory used and reference used by this QFileDialog will be released.
If anyone knows then plz help me.
Thanks.
Bookmarks