Difference in QListView rendering between 4.7 and 4.8?
-
I am working on upgrading our application from 4.7.4 to 4.8.4. I have noticed that there seems to be a difference in the rendering of items in a QListView we have, and it is not an improvement. Considder this screenshot of a single selected item (on Windows 7):
!http://dl.dropbox.com/u/16442531/ListViewItem474.png(Item as rendered on 4.7.4)!
Now, compare with an item rendered on a build using Qt 4.8.4:
!http://dl.dropbox.com/u/16442531/ListViewItem484.png(Item as rendered on 4.8.4)!
Please ignore the difference in the thumbnails themselves, but focus on the way the selection state is rendered. All of a sudden a blueish box appears that marks the area of the thumbnail itself. What is going on here? Any suggestions how to get rid of that box again?The image is passed for the DecorationRole from the model as a QImage. Changing that to a QPixmap did not help.