Valgrind memory analyzer issue
When executing a valgrind memory analyse (Qt Creator) in my application, i get this message:
Conditional jump or move depends on uninitialized value (s) in Place::collidesWithItem ( const QGraphicsItem * other, Qt::ItemSelectionMode mode ) const in place.cpp:395
The function is:
bool Place::collidesWithItem ( const QGraphicsItem * other, Qt::ItemSelectionMode mode ) const
QPainterPath path1 = this->mapFromItem(other, other->shape()); // line place.cpp : 395
Place is a QGraphicsEllipseItem object.
I did not understand this problem. help.
I don't personally see anything wrong there (which doesn't mean there isn't something as I might also be missing it), but the above will explain the error msg at least :)