Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
4.5.3
-
None
Description
A few versions ago, QFileDialog::getSaveFileName stopped using the name you suggested to it. This is very annoying in certain applications. I've gotten this bug on windows xp qt 4.5.2 and gentoo kde 4 and maybe kde 3 as well, I don't remember.
#include <QtGui>
int main(int argc, char ** argv)
{
QApplication app(argc, argv);
QString fileName = "shouldbeanamehere";
fileName = QFileDialog::getSaveFileName(0,"Save File", fileName, "*" );
return 0;
}