┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart_ext.h
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2026-06-13 16:11:44 +0000
committerMéven Car <[email protected]>2026-06-14 06:56:21 +0000
commit451ae420c8454c3f6a157019646781fa97af3b2e (patch)
treeb291fcbee9dd05dcab8da3123047f73c1b81c54e /src/dolphinpart_ext.h
parent655ded169bf5f3c7a925d01a15738333dc64a5df (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/dolphinpart_ext.h')
0 files changed, 0 insertions, 0 deletions