Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, January 2007
Re: Some help with cast to QPointer wished for ----- Solved!


Message 1 in thread

Hi Guys

Thanks for the tips, I have solved the problem.
Now I just have to figure out how the solution works :-)

I changed the definition in svNode from
QPointer<svNodeChain*> to QPointer<svNodeChain>

but that didn't solve the problem.
But when I continued with changing the call to

nodens->hostChain = const_cast<svNodeChain*>(this);

all errors suddenly disapeared.

Thanks

Ulf Rosvall