Fixes: Properly use deleteLater() in birthday controller
authorMathias Hasselmann <mathias@openismus.com>
Wed, 21 Sep 2011 09:15:09 +0000 (11:15 +0200)
committerMathias Hasselmann <mathias@openismus.com>
Wed, 21 Sep 2011 11:44:55 +0000 (13:44 +0200)
commitef10078023e40486f83ba0376e65bb8a31d370d1
treecde5566fe2840213f99fc12df9bc7960b2f68702
parent0d0f754e3039c61d77117ad32fe143ca0b419630
Fixes: Properly use deleteLater() in birthday controller

RevBy: cocos (MR#32)
Details: Only call deleteLater() when really not dealing with the object
anymore, otherwise the thread owning the object might delete it right after
we call deleteLater(), although we still deal with it in our callback. Actually
should not happen with this very code. Still makes sense to play by the rules.
plugins/birthday/cdbirthdaycontroller.cpp