Skip to content
  • ivan tkachenko's avatar
    [applets/devicenotifier] Prevent empty or duplicated actions in expanded view · 8b51f292
    ivan tkachenko authored
    Unfortunately, the list<> basic QML type is too primitive, it does not
    even expose any kind of remove() functionality, so the only supported
    way is to create a new list and assign it instead.
    
    This fixes the bug when there may appear multiple empty or duplicating
    actions in the expanded view due to the fact they they were only added
    to but never cleaned up / removed from the list of contextual actions.
    
    BUG: 449778
    
    
    (cherry picked from commit af98cef3)
    8b51f292