diff --git a/src/qmlcontrols/kcmcontrols/qml/GridViewKCM.qml b/src/qmlcontrols/kcmcontrols/qml/GridViewKCM.qml --- a/src/qmlcontrols/kcmcontrols/qml/GridViewKCM.qml +++ b/src/qmlcontrols/kcmcontrols/qml/GridViewKCM.qml @@ -98,16 +98,14 @@ footerParent.contentItem = f footer = footerParent - f.visible = true f.parent = footerParent } if (header && header != headerParent) { var f = header headerParent.contentItem = f header = headerParent - f.visible = true f.parent = headerParent } } diff --git a/src/qmlcontrols/kcmcontrols/qml/ScrollViewKCM.qml b/src/qmlcontrols/kcmcontrols/qml/ScrollViewKCM.qml --- a/src/qmlcontrols/kcmcontrols/qml/ScrollViewKCM.qml +++ b/src/qmlcontrols/kcmcontrols/qml/ScrollViewKCM.qml @@ -85,16 +85,14 @@ footerParent.contentItem = f footer = footerParent - f.visible = true f.parent = footerParent } if (header && header != headerParent) { var h = header headerParent.contentItem = h header = headerParent - h.visible = true h.parent = headerParent } }