PDA

View Full Version : safety in QList<CustomStruct> handling



navid
16th December 2009, 07:17
Hello,

Is it safe to send a local qlist of local variables (with struct type) which will destroyed soon via emit signalSendVar(QList<CustomStruct>) or emit signalSendVar(CustomStruct) ?

I some times in debugging run (F5) receive segmentation fault. But in normal run (Ctrl+R) , it seems every thing is good.
May it be related to debugging codes added to app by qt?

regards
navid