[Qt-interest] getSaveFileName not getting overwriting confirmation dialog

Constantin Makshin dinosaur-rus at users.sourceforge.net
Tue Jun 9 22:58:37 CEST 2009


Documentation says "By default confirmation is requested" so this may be a  
bug. Can you provide more information, like OS, Qt version, etc.?

On Wed, 10 Jun 2009 00:38:35 +0400, Álvaro Morais  
<alvarommorais at gmail.com> wrote:
> Dear all!
>
> I'm having a issue that I have to be sure before filling a bug report.
>
> Considering this:
>
> void Kpgen::saveLog()
> {
>     QString filename = QFileDialog::getSaveFileName(this, tr("Save
> Log"),QDir::homePath(),tr("All Files (*.*);;Text Files (*.txt);;Log Files
> (*.log)"));
> ...
> }
> I'm not getting a confirmation dialog if I select an existing file.
>
> Shouldn't this present a confirmation dialog if I select a file that
> exists?
>
> Thanks for your trouble

-- 
Constantin "Dinosaur" Makshin



More information about the Qt-interest-old mailing list