From f503e5a9c2f8056192faca4f2e1e7ad00d6293c7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 30 Dec 2020 14:03:31 -0800 Subject: [PATCH] mobile/UI: avoid pointless warnings These can create quite a bit of noise in the log. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveList.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 0806a8bee..3e51a771b 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -47,8 +47,8 @@ Kirigami.ScrollablePage { padding: 0 supportsMouseEvents: true anchors { - left: parent.left - right: parent.right + left: parent ? parent.left : undefined + right: parent ? parent.right : undefined } height: isTrip ? 1 + 8 * Kirigami.Units.smallSpacing : 11 * Kirigami.Units.smallSpacing // delegateInnerItem.height