[PATCH] bug in one of the KAction c'tors

Ellis Whitehead kde at ellisw.net
Fri May 10 22:31:01 BST 2002


Hi Marc,

Good catch.  I hadn't thought about that being the cause of the kmail problem.  
I noticed the duplicate connect in KAction last week too, though, and 
committed a patch for it.  So it's already fixed in HEAD.  If the time frame 
for inclusion works out, your patch can be safely applied to 3.0.1.

Cheers,
Ellis

On Friday 10 May 2002 16:11, Marc Mutz wrote:
> <snip>
>
> I debugged this further. It's a bug in
>    KAction::KAction( const KGuiItem &, ... )
> which does
>    if ( receiver ) connect (...);
> However, KAction::initPrivate(), called earlier in the same c'tor has
> already connected the slot ;-)





More information about the kde-core-devel mailing list