qt6-bb10/tests/auto/corelib/io/qfileselector
Sebastian Lösch da0241a2e7 Make variant selection possible if base is missing
[ChangeLog][QtCore][QFileSelector] Removed the requirement for an unused
default base file in case you want to load only a variant.

When the base file (e.g. /image.jpg) was missing, no selectors were
considered and it was not possible to load variants of this file (e.g.
/+android/image.jpg, /+android/+tablet/image.jpg) without specifying the
directory as well.

As a work around, one previously had to place a default file in
the base location, which is undesirable in some cases because:
1. The extra file consumes unnecessary space.
2. It is impossible to encapsulate platform-specific implementation
   details by hiding files in a subdirectory.

Task-number: QTBUG-51230
Change-Id: I4c7f9ec952bff6e5b7738d8cabe3c762c208a38e
Reviewed-by: Robin Burchell <robin.burchell@crimson.no>
2017-01-20 05:25:19 +00:00
..
extras Add QFileSelector API 2013-09-16 19:42:22 +02:00
platforms Merge remote-tracking branch 'origin/5.6' into dev 2016-01-26 16:27:28 +01:00
qfileselector.pro Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
qfileselector.qrc Merge remote-tracking branch 'origin/5.6' into dev 2016-01-26 16:27:28 +01:00
tst_qfileselector.cpp Make variant selection possible if base is missing 2017-01-20 05:25:19 +00:00