diff options
| author | Méven Car <[email protected]> | 2026-06-13 16:11:44 +0000 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-06-14 06:56:21 +0000 |
| commit | 451ae420c8454c3f6a157019646781fa97af3b2e (patch) | |
| tree | b291fcbee9dd05dcab8da3123047f73c1b81c54e /src/settings/interface/panelsettingspage.cpp | |
| parent | 655ded169bf5f3c7a925d01a15738333dc64a5df (diff) | |
Replace the itemsChanged disconnect/connect dance with a guard
The updater must not react to its own setData() changes, or it would
resolve the roles again. Instead of disconnecting slotItemsChanged()
around every setData() and reconnecting (a dozen times), add a
setModelData() helper that sets a guard while calling setData(), and
make slotItemsChanged() return early while it is set. The view still
gets itemsChanged and repaints.
This also drops a stray disconnect of itemsMoved (never reconnected)
that a hover-sequence block did while duplicating the itemsChanged
connection.
Diffstat (limited to 'src/settings/interface/panelsettingspage.cpp')
0 files changed, 0 insertions, 0 deletions
