On Sun, Apr 23, 2006 at 08:54:22AM +0200, Abdelrazak Younes wrote: > Martin Vermeer a écrit : > >On Sat, Apr 22, 2006 at 11:22:53AM +0200, Abdelrazak Younes wrote: > >>Michael Gerz a écrit : > >>>[EMAIL PROTECTED] wrote: > > > >...
> >Just for fun, load the attached file and look at the ordering of the > >ToC. (I don't see crashes though, but perhaps they'll go away if we fix > >this.) > > Yes I knew about that problem from some time. Try to load your test > document with lyx-qt4 :-) > You will see that the order is correct but an invalid section is not > shown. I did this choice to avoid problem. > > >Where does the ordering happen? > > In "void QToc::updateToc(int newdepth)" the wrong parent is chosen. This > for loop looked too complicated to me so I prefered to rewrite if with a > recursive function. You can probably adapt it to Qt3 API. This looks difficult ;-) but how do you produce a crash? That at least should be fixed. - Martin
pgpgd0uDb2lgq.pgp
Description: PGP signature