Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.7.1
-
None
Description
I've been told that a checkbox should not be drawn if Qt::ItemIsCheckable is not set. My repository contains an example that renders differently in my case. In it is also a screenshot.
if I add if (role == Qt::CheckStateRole) return QVariant() to data() the checkbox is not drawn (but the numbers are still unaligned).