diff --git a/src/plasmaquick/appletquickitem.cpp b/src/plasmaquick/appletquickitem.cpp index 195b6f17f..9676df4f2 100644 --- a/src/plasmaquick/appletquickitem.cpp +++ b/src/plasmaquick/appletquickitem.cpp @@ -328,7 +328,7 @@ void AppletQuickItemPrivate::preloadForExpansion() if (!appletShouldBeExpanded() && compactRepresentationExpanderItem) { compactRepresentationExpanderItem->setProperty("fullRepresentation", QVariant::fromValue(createFullRepresentationItem())); - } else { + } else if (fullRepresentationItem) { fullRepresentationItem->setProperty("parent", QVariant::fromValue(q)); }