Hi to all,
I'm using Qt 2009.03 version and getting strange behavior with the following code:
(
"Export_%1.txt"
)
.
arg(QDate::currentDate().
toString("yyyy-MM-dd"));
qDebug() << "nomeFile : " << nomeFile;
//show exactly "Export_2009-07-23.txt"
(this, tr("Salva il File"), nomeFile,
tr("File da Esportare (Export*.txt)"));
QString nomeFile;
nomeFile = QString
(
"Export_%1.txt"
)
.arg(QDate::currentDate().toString("yyyy-MM-dd"));
qDebug() << "nomeFile : " << nomeFile;
//show exactly "Export_2009-07-23.txt"
QString nomeFileScelto = QFileDialog::getSaveFileName
(this, tr("Salva il File"), nomeFile,
tr("File da Esportare (Export*.txt)"));
To copy to clipboard, switch view to plain text mode
it opens a Dialog (S.O.: Windows XP) without the suggested file name (nomeFile), just a blank box while the filter is OK!
The previous release didn't have that problem, if I remember right, any ideas?
Bookmarks