QPainter logs in stdout

Ingo Klöcker kloecker at kde.org
Mon Jan 18 22:24:15 GMT 2010


On Monday 18 January 2010, Thiago Macieira wrote:
> Em Segunda-feira 18. Janeiro 2010, às 22.17.33, Ingo Klöcker escreveu:
> > After digging into Qt's sources we finally resorted to
> > something like
> >   QEvent event( QEvent::UpdateRequest );
> >   QCoreApplication::postEvent( viewport, &event );

I think that should be
  QEvent event( QEvent::UpdateRequest );
  QCoreApplication::sendEvent( viewport, &event );

> > instead.
>
> Wouldn't this accomplish the same:
>
> 	viewport->update() ?

Yeah, except that I confused postEvent() and sendEvent(). :/


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100118/7e010225/attachment.sig>


More information about the kde-core-devel mailing list