kcms/landingpage: Drop the buddy binding of the most used grid

Amends d6d785e4a1

children[1] is undefined while the grid is created, so every time the
page opens it logs "Unable to assign [undefined] to QQuickItem*". The
Repeater's onItemAdded already makes the first item the buddy.
This commit is contained in:
Oleg Tsvetkov 2026-10-16 10:49:24 +03:00
parent 778f45dff2
commit 90f507b7e2

View file

@ -282,7 +282,6 @@ KCMUtils.SimpleKCM {
title: i18nc("@title:group for grid of buttons opening kcms", "Most used pages:")
contentItem: GridLayout {
id: mostUsedGrid
Kirigami.FormData.buddyFor: mostUsedGrid.children[1]
visible: recentlyUsedRepeater.count > 0
Layout.fillWidth: true