Skip to content

Conversation

@Ramjdeemp
Copy link

The delegate previously forwarded painting to view->itemDelegate(), which may resolve back to the same delegate and risks recursion or reliance on undocumented behavior. This change calls QStyledItemDelegate::paint() directly, which is the documented and canonical approach for default item painting in Qt, ensuring correctness and predictable behavior.

The delegate previously forwarded painting to view->itemDelegate(), which may resolve back to the same delegate and risks recursion or reliance on undocumented behavior.
This change calls QStyledItemDelegate::paint() directly, which is the documented and canonical approach for default item painting in Qt, ensuring correctness and predictable behavior.
@Holt59
Copy link
Member

Holt59 commented Jan 21, 2026

The change you reverted was added to fix issues with collapsible separator, so reverting it probably breaks something visually, see

e5f4378

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants