path: root/tests/auto/tools/moc
diff options
authorVolker Hilsheimer <>2020-08-10 16:23:36 +0200
committerVolker Hilsheimer <>2020-08-12 23:06:36 +0200
commit99aefbb4c00ce2ad01bea186a297a3407b1da973 (patch)
treedc5d774567c70c177428592d03dff85455b67c12 /tests/auto/tools/moc
parent5382bf4220bb76055943678196a84387510ee059 (diff)
QFileDialog: fix warning message when navigating to "My Computer"
The mapping between model indexes, QUrl, and QDir in QFileDialog resulted in QFileSystemEngine methods being called on empty strings, which results in a warning from QFileSystemEngine. When QFileDialog gets an empty string as the new path, then we know that it's the "My Computer" location, so handle that case separately. This makes sure we don't call any QFileSystemEngine methods with an empty string. Change-Id: I421d3d76b053379c216c41a72fb783d1bad176cb Pick-to: 5.15 Fixes: QTBUG-67866 Reviewed-by: Richard Moe Gustavsen <>
Diffstat (limited to 'tests/auto/tools/moc')
0 files changed, 0 insertions, 0 deletions