[Konsole-devel] [Bug 49153] deattach/attach session -> key input is doubled

Luis Pedro Coelho luis_pedro at netcabo.pt
Mon Oct 21 16:42:51 UTC 2002


Em Segunda, 21 de Outubro de 2002 11:21, Simon Hausmann escreveu:
> OK, turned out not to be a real Qt bug. TEmulation declares the onKeyPress
> slot. TEmuVt102's declares the slot again, so the slot is listed twice,
> once in TEmulation's QMetaObject and once in TEmuVt102's one. But as the
> TEmulation constructor calls connectGUI at this time only the onKeyPressed
> slot of TEmulation is avaiable, because the vtbl of the object is not
> adjusted to TEmuVt102 yet, so the metaObject method still returns
> TEmulations' QMetaObject. As a result in the sender object the member index
> of TEmulation's onKeyPressed signal is stored (in the connection list) .
>

I disagree: this is, IMHO, a Qt bug. I now understand why the old code didn't 
work, but I think should.

regards
-- 
Luis Pedro Coelho

http://blogs.salon.com/0001523




More information about the konsole-devel mailing list