<div class="gmail_quote">2009/8/14 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net">remi@remlab.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div id=":16z" class="ii gt">Yes it does. You should not even know that their is a child if you don't<br>
have the playlist lock, so you cannot ask for anything about children<br>
without the playlist lock in the first place.</div></blockquote></div><br>And yes, the qt view can ask any goddamn thing it wants, because we don't control it!!! Do you want to rewrite the whole view code? And also, for the view, the only way to see if a QModelIndex has a child is to go and try to get the QModelIndex of the child! It can't do otherwise!<br>