[Interest] QGraphicsObject::boundingRect() called with different instance

alexander golks alex at golks.de
Thu Oct 31 07:49:49 CET 2019


Am Wed, 30 Oct 2019 18:55:04 -0600
schrieb Bob Hood <bhood2 at comcast.net>:

> (Sorry for the slow reply.  F#@$ing Comcast decided yesterday that all my 
> mailing list traffic was Spam.)
> 
> 
> On 10/30/2019 5:17 AM, Giuseppe D'Angelo via Interest wrote:
> > On 30/10/2019 01:47, Bob Hood wrote:  
> >> When I enter the constructor, I have a specific ‘this’ pointer that has the 
> >> provided ‘size’ argument placed into its ‘entity_size’ member. However, 
> >> when Qt subsequently invokes the boundingRect() override function, it’s an 
> >> entirely different ‘this’ instance whose ‘entity_size’ has clearly not been 
> >> initialized.

are you sure the this pointer in question is not a dead, dangling pointer?

-- 
/*
 *  You are so boring that when I see you my feet go to sleep.
 */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20191031/7d6e007d/attachment.sig>


More information about the Interest mailing list