Fix crash
This commit is contained in:
parent
0ffe183d71
commit
349648c1e6
@ -328,7 +328,7 @@ void AppletQuickItemPrivate::preloadForExpansion()
|
|||||||
|
|
||||||
if (!appletShouldBeExpanded() && compactRepresentationExpanderItem) {
|
if (!appletShouldBeExpanded() && compactRepresentationExpanderItem) {
|
||||||
compactRepresentationExpanderItem->setProperty("fullRepresentation", QVariant::fromValue<QObject*>(createFullRepresentationItem()));
|
compactRepresentationExpanderItem->setProperty("fullRepresentation", QVariant::fromValue<QObject*>(createFullRepresentationItem()));
|
||||||
} else {
|
} else if (fullRepresentationItem) {
|
||||||
fullRepresentationItem->setProperty("parent", QVariant::fromValue<QObject*>(q));
|
fullRepresentationItem->setProperty("parent", QVariant::fromValue<QObject*>(q));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user