Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Incomplete
-
Affects Version/s: 4.8.x
-
Fix Version/s: None
-
Component/s: Core: I/O
-
Labels:
Description
path=\\LENOVO-PC\oo-media const auto modelNdx = p->dirModel->index(path); const auto modelNdx2 = p->dirModel->index(path); Q_ASSERT(modelNdx == modelNdx2);
The problem is in QFileSystemModelPrivate::node
...
if (!root.children.contains(host.toLower())) {
...
but p->addNode(rootNode, host,info); without converting to lower.
So for unc pathes for each index(path) call - new node and index are created - bug