make sure full representations don't get loaded
This commit is contained in:
parent
6f8f9a9c64
commit
4e13ce6966
@ -215,7 +215,6 @@ QObject *AppletQuickItemPrivate::createCompactRepresentationExpanderItem()
|
||||
|
||||
|
||||
compactRepresentationExpanderItem.data()->setProperty("compactRepresentation", QVariant::fromValue(createCompactRepresentationItem()));
|
||||
compactRepresentationExpanderItem.data()->setProperty("fullRepresentation", QVariant::fromValue(createFullRepresentationItem()));
|
||||
|
||||
return compactRepresentationExpanderItem.data();
|
||||
}
|
||||
@ -611,8 +610,10 @@ void AppletQuickItem::setExpanded(bool expanded)
|
||||
return;
|
||||
}
|
||||
|
||||
if (expanded) {
|
||||
d->createFullRepresentationItem();
|
||||
d->compactRepresentationExpanderItem.data()->setProperty("fullRepresentation", QVariant::fromValue(d->createFullRepresentationItem()));
|
||||
}
|
||||
|
||||
d->expanded = expanded;
|
||||
emit expandedChanged(expanded);
|
||||
|
Loading…
Reference in New Issue
Block a user