add test for QFileDialog::getExistingDirectory / bug?

Kevin Funk krf at gmx.de
Tue Jan 28 14:05:30 UTC 2014


Am Sonntag, 26. Januar 2014, 18:53:42 schrieb Gregor Mi:
> With another addition to qfiledialogtest in
> frameworks/frameworkintegration another potential bug can be exposed:
> 
> Calling
> 
> $ ./qfiledialogtest --nameFilter "c (*.cpp)" --nameFilter "h (*.h)"
> --selectNameFilter "h (*.h)"

Works for me. Using Qt 5.2.0, if that matters.

> does not select the second filter. Can this be confirmed or maybe I am
> using the API wrong?
> 
> Gregor
> 
> On 26/01/14 17:15, Gregor Mi wrote:
> > Hi,
> > 
> > with 2c1ee08a21a1f16f9c2523718224598de8fc0d4f I added a test for
> > QFileDialog::getExistingDirectory.
> > 
> > When I execute
> > 
> > ./qfiledialogtest --staticFunction getExistingDirectory
> > 
> > then a dialog opens that lets the user select files but not directories.
> > This seems to be a bug.
> > 
> > Greetings
> > 
> > Gregor

-- 
Kevin Funk


More information about the Kde-frameworks-devel mailing list