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 09:20:01 +0000 (11:20 +0200)
commit4d93a8475eab39b638f90fa5b7312761e89b92c9
treecde5566fe2840213f99fc12df9bc7960b2f68702
parentdeef31917b20b674ceb6fa9dad7a877d3ec7f250
Fixes: Properly use deleteLater() in birthday controller

RevBy: cocos
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