build after transplant to private class

svn path=/trunk/KDE/kdelibs/; revision=1192721
This commit is contained in:
Aaron J. Seigo 2010-11-03 20:55:23 +00:00
parent 92511efde0
commit e7f27c4e79

View File

@ -546,10 +546,10 @@ void AppletPrivate::cleanUpAndDelete()
resetConfigurationObject(); resetConfigurationObject();
if (q->scene()) { if (q->scene()) {
if (isContainment()) { if (isContainment) {
// prematurely emit our destruction if we are a Containment, // prematurely emit our destruction if we are a Containment,
// giving Corona a chance to remove this Containment from its collection // giving Corona a chance to remove this Containment from its collection
emit destroyed(this); emit q->QObject::destroyed(q);
} }
q->scene()->removeItem(q); q->scene()->removeItem(q);