|author||Volker Hilsheimer <firstname.lastname@example.org>||2020-08-10 16:23:36 +0200|
|committer||Volker Hilsheimer <email@example.com>||2020-08-12 23:06:36 +0200|
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 <firstname.lastname@example.org>
Diffstat (limited to 'tests/auto/tools/moc')
0 files changed, 0 insertions, 0 deletions