-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
4.8.0, 4.8.2
-
None
-
Any
The function QFileSystemModel::mimeData does not obtain the format from QFileSystemModel::mimeTypes - in contrast to the documentation. The format of QFileSystemModel::mimeData is hard-coded instead ("text/uri-list"). Also consider, that the function QFileSystemModel::mimeTypes is virtual and might be overloaded.
Suggested fix: Remove the wrong statement from the documentation, but support also "text/plain" (some drop targets expect this). Please find attached an enhanced version of function QFileSystemModel::mimeData (just 2 lines of code added, the most recent attachment is valid).