diff options
author | Steru <jerrydream111@gmail.com> | 2024-08-16 22:19:42 +0200 |
---|---|---|
committer | Orangerot <purple@orangerot.dev> | 2024-08-26 11:19:38 +0200 |
commit | b672b4698c721fa6dfd5dff965e08059d51bddda (patch) | |
tree | d81b53ec11376d14847e129335e89901995b3d13 /res/gui/EventInfoPage.qml | |
parent | cd69d722717c5ae40360f7cec22e191aa735b675 (diff) |
Compacted competitors into one object, deleted API class (now in sportmodel).
Diffstat (limited to 'res/gui/EventInfoPage.qml')
-rw-r--r-- | res/gui/EventInfoPage.qml | 6 |
1 files changed, 3 insertions, 3 deletions
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<string> competitors + property list<QtObject> 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 |