[Qt-interest] getSaveFileName not getting overwriting confirmation dialog

Álvaro Morais alvarommorais at gmail.com
Tue Jun 9 23:05:11 CEST 2009


Of course.

Linux GENTOO-MULTI-64 2.6.29-gentoo-r5-custom #1 SMP PREEMPT 
Sun May 31 13:13:09 WEST 2009 x86_64 Intel(R) Core(TM)2 Duo CPU 
E6750 @ 2.66GHz GenuineIntel GNU/Linux

gcc (Gentoo 4.3.3-r2 p1.2, pie-10.1.5) 4.3.3
glibc version 2.10.1
Qt Version: 4.5.1

In the meantime I will set DontConfirmOverwrite and add a custom 
confirmation dialog.

A Terça 09 Junho 2009 21:58:37 Constantin Makshin escreveu:
> 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

-- 
Neither Emacs or Vi are my primary editors...
..and I'm not ashamed!!!




More information about the Qt-interest-old mailing list