Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
4.8.x
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