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

List:       kde-core-devel
Subject:    Re: QAccel insertion madness
From:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! tu-berlin ! de>
Date:       2001-12-28 10:30:05
[Download RAW message or body]

On Thu, Dec 27, 2001 at 08:23:00PM -0500, Ellis Whitehead wrote:
> 
> 1) Clicking on the "Bookmarks" menu inserts the menu's items (two of them) 
> into a QAccel object *four* times.
> 
> kdecore (KAccel): KAction::plug( [KPopupMenu pointer (0x810eda0) to widget 
> KActionMenu::KActionMenuPrivate, geometry=191x58+66+52], -1 )
> QAccel::insertItem( <65535?>, -88 ):    this = 8146ca0 name = QPopupMenuAccel
> QAccel::insertItem( Ctrl+B, -88 ):      this = 8146ca0 name = QPopupMenuAccel

I suggest adding a
kdDebug() << kdBacktrace() << endl;
into QAccel::insertItem() so you see where they come from.

Cheers
Carsten Pfeiffer
[prev in list] [next in list] [prev in thread] [next in thread] 

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