qt5base-lts/tests/auto/gui
Dongmei Wang e253a30238 QFileSystemModel fails to locate a host from root's visible children
In QFileSystemModel, in some cases the hostname in a UNC path is
converted to lower case and stored in the root node's visibleChildren.
When QFileSystemModel sets the UNC path as the root path, it tries to
get the row number for the host, but it didn't convert the hostname to
lower case before getting the row number, which resulted in the host
not found in the root node's visible children. As a result, it returns
-1, an invalid row number. Change the behavior to find the node for the
host using the host name case-insensitive and then get the row number.

Fixes: QTBUG-71701
Pick-to: 5.15 6.0 6.1
Change-Id: Ib95c7b6d2bc22fd82f2789b7004b6fc82dfcb13b
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
2021-05-20 15:02:38 +00:00
..
image Fix tst_qicon for fractional dpr 2021-04-20 21:33:00 +02:00
itemmodels QFileSystemModel fails to locate a host from root's visible children 2021-05-20 15:02:38 +00:00
kernel Remove Qt6 switches from QtGui 2021-05-05 19:26:56 +02:00
math3d Fix warnings about lossy double/float conversion in tests 2021-04-11 19:53:32 +02:00
painting Android: unblock passing tests 2021-04-27 21:12:50 +03:00
platform Move QtX11Extras into QtGui as private API 2021-05-10 21:19:46 +00:00
qopengl Skip tst_QOpenGL::glxContext test on Wayland 2021-03-11 11:58:42 +01:00
qopenglconfig Remove the qmake project files 2021-01-07 15:32:28 +01:00
qvulkan tst_qvulkan: Skip assumption about supportedApiVersion 2021-01-21 17:00:32 +01:00
rhi rhi: gl: Add support for importing an existing renderbuffer object 2021-05-19 17:35:35 +02:00
text Allow background inheritance between non-body block elements 2021-05-08 09:28:02 +02:00
util QTextureFileData: support key value metadata 2021-02-09 13:39:47 +01:00
CMakeLists.txt Move QtX11Extras into QtGui as private API 2021-05-10 21:19:46 +00:00