don't crash when expanding applets whilst loading

BUG: 332429
This commit is contained in:
David Edmundson 2014-03-24 17:02:53 +01:00
parent 6a6bf8e80c
commit 399e61901f

View File

@ -633,6 +633,7 @@ void AppletQuickItem::setExpanded(bool expanded)
} }
if (expanded) { if (expanded) {
d->createCompactRepresentationExpanderItem();
d->createFullRepresentationItem(); d->createFullRepresentationItem();
KConfigGroup cg = d->applet->config(); KConfigGroup cg = d->applet->config();