On Wednesday 05 Nov 2003 12:04 am, Guillaume Laurent wrote:
> Actually the reason of the crash is quite simple : in
> NotationCanvasView::slotRenderComplete(), you're calling
> QCanvasView::drawContents(m_renderPainter,...) and m_renderPainter
> is null, because NotationCanvasView::drawContents() hasn't been
> called yet.

Ah yes, well spotted.  Interesting that it didn't crash on either of 
my machines.  Maybe some versions of Qt will cope with a null painter 
there.

I've just committed a "proper" fix (testing m_renderPainter in 
slotRenderComplete, rather than just connecting the signal later).  
If you could verify that it's still fixed..?


Chris



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Rosegarden-devel mailing list
[EMAIL PROTECTED] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to