[Development] Qt 5.6.0 header diff: QtTest.diff

Milian Wolff milian.wolff at kdab.com
Fri Sep 18 14:31:46 CEST 2015


On Donnerstag, 17. September 2015 09:15:06 CEST Thiago Macieira wrote:
> On Thursday 17 September 2015 15:27:44 Milian Wolff wrote:
> > +++ b/src/testlib/qtestaccessible.h
> > 
> > @@ -126,7 +126,7 @@ public:
> >      static void cleanup()
> >      {
> >      
> >          delete instance();
> > 
> > -        instance() = 0;
> > +        instance() = Q_NULLPTR;
> > 
> >      }
> > 
> > this is wrong
> 
> Why?

Because I can't read properly - sorry for the noise.

I misread this as using Q_NULLPTR for declaring instance as pure virtual which 
clearly is not the case here...
-- 
Milian Wolff | milian.wolff at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5903 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150918/51a72216/attachment.bin>


More information about the Development mailing list