qt6-bb10/tests/auto/widgets
Giuseppe D'Angelo 784a290c4b QFileInfo: mark constructors as explicit
These look like leftovers (API flaws).

Construction of QFileInfo from QString (or similar) should be not
implicit, as QFileInfo construction is expensive (might hit the file
system), and this may have users overlook APIs (for instance build a
QFileInfo out of QDirIterator::next(), instead of using ::fileInfo();
using QDir::entryList instead of entryInfoList; etc.).

Leave an opt-out mechanism to ease porting.

Fix a handful of usages around qtbase, with at least a couple of them
likely to be actual "sloppy" code.

[ChangeLog][Potentially Source-Incompatible Changes][QFileInfo] Most
QFileInfo constructors are now explicit. The
QT_IMPLICIT_QFILEINFO_CONSTRUCTION macro is provided to keep old code
working.

Change-Id: Ic580e6316e67edbc840aa0c60d98c7aaabaf1af6
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-11-15 18:30:16 +01:00
..
dialogs Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
effects Get rid of all usage of QApplication:desktop 2020-10-14 06:38:43 +02:00
graphicsview Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
itemviews QFileInfo: mark constructors as explicit 2020-11-15 18:30:16 +01:00
kernel Stop copying events in tests 2020-11-12 15:25:06 +01:00
styles Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
util Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
widgets Stop copying events in tests 2020-11-12 15:25:06 +01:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00