[telepathy] [Bug 325506] Expansion of groups in the Contact List is not always remembered

David Edmundson kde at davidedmundson.co.uk
Sat Apr 26 11:46:12 BST 2014


https://bugs.kde.org/show_bug.cgi?id=325506

David Edmundson <kde at davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---
     Ever confirmed|0                           |1

--- Comment #11 from David Edmundson <kde at davidedmundson.co.uk> ---
Maybe you are onto something. The parent index being invalid makes perfect
sense; the parent of a group node is nothing.

What this code was currently doing is looking for when you insert a child of a
group node and then seeing if you should expand the group node (which will be
the parent of the newly inserted child)
The reason we did this was because if you call expand() on a group node that
doesn't have any children Qt just ignores your expand request; when I wrote
that the code we had always inserted the group node, and then afterwards
inserted the children.

Your patch basically restores the more obvious way of operating on the group
node itself when is inserted.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kde-telepathy-bugs mailing list