QFileDialog::getOpenFileName closing very late.
Hi..
I am using "QFileDialog::getOpenFileName()" in mycode. The thing is if i select a smaller file(in size), filedialoge closing immedietly. If i select a large movie file(morethan ~500MB), dialoge taking long time to close itself. Ofcourse it returning the path of that file, but why this delay in closing happens? Can i avoid that?
Re: QFileDialog::getOpenFileName closing very late.
Which Qt version, OS or environment? Do you use native dialogs? If not, do you see the same behavior using the non-blocking approach?
Re: QFileDialog::getOpenFileName closing very late.
hi..franz,
I am using Qt 4.7.0 (windows XP), an i am passing the flags(QFileDialog::DontUseNativeDialog | QFileDialog::DontResolveSymlinks) while creating filedialoge. sorry i dont know what "non-blocking approach" means?
Re: QFileDialog::getOpenFileName closing very late.
OK, you should try to see what happens when you don't use the static functions. Have a look at the Unpredictable Exec blog post for more info on the (better imo) alternatives.