diff --git a/applets/digital-clock/package/contents/ui/main.qml b/applets/digital-clock/package/contents/ui/main.qml --- a/applets/digital-clock/package/contents/ui/main.qml +++ b/applets/digital-clock/package/contents/ui/main.qml @@ -48,10 +48,10 @@ Plasmoid.toolTipItem: Loader { id: tooltipLoader - Layout.minimumWidth: item.width - Layout.maximumWidth: item.width - Layout.minimumHeight: item.height - Layout.maximumHeight: item.height + Layout.minimumWidth: item ? item.width : 0 + Layout.maximumWidth: item ? item.width : 0 + Layout.minimumHeight: item ? item.height : 0 + Layout.maximumHeight: item ? item.height : 0 source: "Tooltip.qml" }