[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: time to move on to qt44
From:       Girish Ramakrishnan <girish () forwardbias ! in>
Date:       2008-06-05 16:56:49
Message-ID: 48481AA6.7030307 () forwardbias ! in
[Download RAW message or body]

Thomas Zander wrote:
> On Tuesday 13. May 2008 15:09:58 Sebastian Sauer wrote:
>>> I would argue that this is the only correct fix, passing around a
>>> non-valid block doesn't seem like something Qt should be guarded against.
>> heh. Actually it's a Qt4.4-workaround since Qt is pretty well protected
>> against invalid blocks. I tried to reproduce this with some testcases but
>> failed there.
> 
> Ok, I took a look and discovered that not the block but the list is a dangling 
> pointer.
> 
> The KoTextLoader::loadList load list seems to be doing some weirdness that 
> doesn't make sense to me.
> It uses both the ListStyle and the cursor->createList.
> This is mixing concept and you should be using only one of those two.  The 
> listStyle is capable of holding various QTextList objects, one for each 
> list-level.  So creating and managing one QTextList object outside of the 
> style to represent the list seems like a bad idea.
> 
> Why is the createList and addBlock() needed at all?
> 

Yes, not required. I fixed this today.

Girish
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic