From d1e91b15735e5c39d464c1d84c318f60ffeb96a8 Mon Sep 17 00:00:00 2001 From: Yari Polla Date: Wed, 15 Mar 2023 14:23:19 +0100 Subject: [PATCH] kcms/time: fix wrong reference --- kcms/time/package/contents/ui/main.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kcms/time/package/contents/ui/main.qml b/kcms/time/package/contents/ui/main.qml index ce3f3d03..48b046fa 100644 --- a/kcms/time/package/contents/ui/main.qml +++ b/kcms/time/package/contents/ui/main.qml @@ -153,12 +153,14 @@ SimpleKCM { } } ListView { + id: listView + clip: true anchors.fill: parent implicitWidth: 18 * Kirigami.Units.gridUnit model: kcm.timeZonesModel delegate: Kirigami.DelegateRecycler { - width: parent.width + width: listView.width sourceComponent: listDelegateComponent }