From b672b4698c721fa6dfd5dff965e08059d51bddda Mon Sep 17 00:00:00 2001 From: Steru Date: Fri, 16 Aug 2024 22:19:42 +0200 Subject: Compacted competitors into one object, deleted API class (now in sportmodel). --- res/gui/EventInfoPage.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'res/gui/EventInfoPage.qml') diff --git a/res/gui/EventInfoPage.qml b/res/gui/EventInfoPage.qml index d04716b..6c46a7f 100644 --- a/res/gui/EventInfoPage.qml +++ b/res/gui/EventInfoPage.qml @@ -5,7 +5,7 @@ import QtQuick.Controls Page { id: root property string eventName - property list competitors + property list competitors header: ToolBar { ToolButton { @@ -31,9 +31,9 @@ Page { bottomMargin: 48 rightMargin: 48 spacing: 20 - model: competitors + model: eventName delegate: ItemDelegate { - text: modelData + text: "sadly not working..." width: listView.width - listView.leftMargin - listView.rightMargin height: avatar.implicitHeight + 32 leftPadding: avatar.implicitWidth + 32 -- cgit v1.2.3