Skip to content
Commit f621c718 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[kcms/keys] Don't remove items from list while iterating

removeComponent removes the item from m_components, so we must
not do that while iterating over m_components

Instead make a pass over the list, remember the to-be-deleted components,
delete them, then process the rest

BUG: 477191
parent 8e8b8bb0
Pipeline #536050 passed with stage
in 3 minutes and 45 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment