Skip to content

Fix incorrect model reset#13334

Open
Waqar144 wants to merge 1 commit into
keepassxreboot:developfrom
Waqar144:work/fix_entry_model_warnings
Open

Fix incorrect model reset#13334
Waqar144 wants to merge 1 commit into
keepassxreboot:developfrom
Waqar144:work/fix_entry_model_warnings

Conversation

@Waqar144
Copy link
Copy Markdown
Contributor

beginResetModel/endResetModel in a QStandardItemModel doesn't make sense

Fixes following warnings

beginResetModel called on EntryURLModel(0x55c23c0dec40) without calling endResetModel first endResetModel called on EntryURLModel(0x55c23c0dec40) without calling beginResetModel first beginResetModel called on EntryURLModel(0x55c23c861120) without calling endResetModel first endResetModel called on EntryURLModel(0x55c23c861120) without calling beginResetModel first beginResetModel called on EntryURLModel(0x55c23cd1ab30) without calling endResetModel first endResetModel called on EntryURLModel(0x55c23cd1ab30) without calling beginResetModel first

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)

beginResetModel/endResetModel in a QStandardItemModel doesn't make sense

Fixes following warnings

beginResetModel called on EntryURLModel(0x55c23c0dec40) without calling endResetModel first
endResetModel called on EntryURLModel(0x55c23c0dec40) without calling beginResetModel first
beginResetModel called on EntryURLModel(0x55c23c861120) without calling endResetModel first
endResetModel called on EntryURLModel(0x55c23c861120) without calling beginResetModel first
beginResetModel called on EntryURLModel(0x55c23cd1ab30) without calling endResetModel first
endResetModel called on EntryURLModel(0x55c23cd1ab30) without calling beginResetModel first
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