[Qt-interest] QFileDialog::getSaveFileName - warns / doesn't warn (bug?)
Alexis Ménard
alexis.menard at trolltech.com
Wed Feb 4 12:04:05 CET 2009
Hello,
On your Linux machine which desktop environment? Gnome, KDE other?
Because since 4.5.0 if you have a KDE desktop and you use the static functions
it will load the KDE filedialog, on Gnome it will use the gnome one...
Does the call run the KDE, Gnome or the Qt one?
On Windows you have a warning because it use the native one.
On Wednesday 04 February 2009 09:16:11 Richard wrote:
> Have you also tried to use the QFileDialog::DontConfirmOverwrite option?
>
> -Richard
>
> Den Feb 3, 2009 kl. 11:16 PM skrev John Smith:
> > "Stacy Alley" <salley at usgs.gov> wrote in message
> > news:4988ABEB.8090303 at usgs.gov...
> >
> >> I do get a warning if the file exists using
> >> QFileDialog::getSaveFileName
> >> on Window, Linux, and Macs.
> >> Qt version4.4.1
> >
> > I'm using Qt 4.5.0.
> >
> >> John Smith wrote:
> >>> Windows:
> >>> QFileDialog::getSaveFileName warns if file exists.
> >>>
> >>> Linux:
> >>> QFileDialog::getSaveFileName doesn't warn if file exists.
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Qt-interest mailing list
> >>> Qt-interest at trolltech.com
> >>> http://lists.trolltech.com/mailman/listinfo/qt-interest
> >>
> >> --
> >> Stacy Alley
> >>
> >> Astrogeology Team Programmer
> >> U.S. Geological Survey
> >> 2255 North Gemini Drive
> >> Flagstaff, AZ 86001
> >> (928)556-7258
> >
> > _______________________________________________
> > Qt-interest mailing list
> > Qt-interest at trolltech.com
> > http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
--
Alexis Ménard
Software Engineer, Widgets Team 1
Qt Software, Nokia Norge AS, Sandakerveien 116, 0484 Oslo, Norway
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090204/605aa33f/attachment.html
More information about the Qt-interest-old
mailing list