avoid warnings

svn path=/trunk/KDE/kdelibs/; revision=1142366
This commit is contained in:
Aaron J. Seigo 2010-06-24 18:32:49 +00:00
parent f8cdf8c2e3
commit 1791b2b693

View File

@ -185,7 +185,9 @@ ExtenderItem::ExtenderItem(Extender *hostExtender, uint extenderItemId)
//make sure we keep monitoring if the source applet still exists, so the return to source icon
//can be hidden if it is removed.
connect(d->sourceApplet, SIGNAL(destroyed()), this, SLOT(sourceAppletRemoved()));
if (d->sourceApplet) {
connect(d->sourceApplet, SIGNAL(destroyed()), this, SLOT(sourceAppletRemoved()));
}
connect(d->collapseIcon, SIGNAL(clicked()), this, SLOT(toggleCollapse()));