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

List:       kde-core-devel
Subject:    Re: KDialogBase/IconList problems
From:       Espen Sand <espensa () online ! no>
Date:       2000-06-01 12:24:34
[Download RAW message or body]

On Thu, 01 Jun 2000, Espen Sand wrote:
> Hi,
> 
> Can it be confirmed that there is a problem with KDialogBase used in 
> IconList mode?. I khexedit I get a segfault on exit if the configuration dialog
> has been opened (backtrace says it happend in the KDialogBase destructor
> somwhere) There are too many icons in the list as well. In kmail I can't even
> open the settings dialog (switch to TreeList in the constructor to get it
> working). 
> 
> I upgraded everything yesterday (I am using Qt 2.1.1). At the moment I have no
> clue what is wrong but I am looking into it.

Ok, I just commited a fix. I am not sure it this will break if Qt 2.1 is
still used. Here is snip from the cvs message:

<snip>
If you are still using 2.1 then locate the
KJanusWidget::addPageWidget(..) and uncomment the 
"mIconList->insertItem( item )" statement.
</snip>

Earlier I did:
IconListItem *item = new IconListItem( mIconList, pixmap, itemName );
mIconList->insertItem( item );
but the last statement causes problems with Qt 2.1.1

It is a Qt issue. The "mIconList" object is derived from KListBox. I tried
to change to QListBox but that did not change anything.


-- 
Espen Sand

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

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