Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
4.8.4
-
None
-
Ubuntu 12.04
Description
In our project, we are using the QFileSystemModel to show images in a QListView. The QFileSystemModel is extended with a custom QFileIconProvider for compressing smaller/low res JPG icons. This is working fine for non-Unicode file names.
Now we are adding support for Unicode, but the model seems to filter out the Unicode characters. For example: i have a file called "Image箇32". A call to the icon provider reveals a file name "Image32" .. the 箇 is simply gone. This results in incorrect behaviour.
The same happens with QFileSystemModel::filePath(modelIndex), this also returns the incorrect string.