[Kmymoney-devel] restoring QWidget::updatesEnabled property

Cristian Oneţ onet.cristian at gmail.com
Sun Jul 26 13:45:25 CEST 2009


În data de Sîmbătă 25 Iulie 2009 15:10:03 Alvaro Soliverez a scris:
> On Sat, Jul 25, 2009 at 5:38 AM, Cristian Oneţ 
<onet.cristian at gmail.com>wrote:
> > În data de Sîmbătă 25 Iulie 2009 11:15:55 ați scris:
> > > În data de Sîmbătă 25 Iulie 2009 10:01:12 ați scris:
> > > This is why I think that trying to restore the flag does not work for
> > > the transaction form unless we have some call to explicitly enable the
> >
> > updates
> >
> > > like we do for the register.
> >
> > Or we could do the disable/restore stuff only if we really need it, that
> > is,
> > when updates are not already disabled when reaching that code.
>
> I can't remember which class it was right now, but I remember there was a
> point in the code where it would call setEnabled for each tab. It was
> commented out and added #warning #Port to KDE4.
Do you mean the setEnabled call from TabBar::copyTabs? That code has been 
ported and it does not help with this issue. But I think that the fact that a 
widget is enabled/disabled and the fact that the updates for the widget are 
enabled/disabled are unrelated.

-- 
Regards,

Cristian Oneţ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20090726/588267af/attachment.sig 


More information about the KMyMoney-devel mailing list