tst_qfiledialog: fixed typo causing semi-random completer() failure
authorRohan McGovern <rohan.mcgovern@nokia.com>
Fri, 5 Oct 2012 06:05:33 +0000 (16:05 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 8 Oct 2012 22:25:57 +0000 (00:25 +0200)
commit0776746d47c9b0d575b6190b1882c571a76ee086
treeefec373fd7698a3ad33fadb010e23cb029ea9ec4
parentcaaeb2043541865ef7a9da424238d54b6556f8aa
tst_qfiledialog: fixed typo causing semi-random completer() failure

completer_data() was attempting to find the first folder which did
not begin with a '.' character under QDir::root() for usage during the
test.

However, a typo caused it to find the first folder even if it _did_
begin with a '.'; unless the first folder returned by entryList()
was ".", in which case no folder would be found.

Change-Id: Ie95f1add797973d06a8d5f2fa32935366a008de5
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
tests/auto/widgets/dialogs/qfiledialog/tst_qfiledialog.cpp