diff options
| author | Steru <jerrydream111@gmail.com> | 2024-08-16 22:19:42 +0200 | 
|---|---|---|
| committer | Steru <jerrydream111@gmail.com> | 2024-08-16 23:58:46 +0200 | 
| commit | 88b1b119dfa35f36b64d81dbe6c84f46d86455c5 (patch) | |
| tree | 864ba9c747ef86d61b6aeb01e8985676f906bd3e /res/gui | |
| parent | f24b4dcbd11336dabfd146c656e2437e4393b225 (diff) | |
Compacted competitors into one object, deleted API class (now in sportmodel).
Diffstat (limited to 'res/gui')
| -rw-r--r-- | res/gui/EventInfoPage.qml | 6 | ||||
| -rw-r--r-- | res/gui/EventsPage.qml | 2 | 
2 files changed, 4 insertions, 4 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 diff --git a/res/gui/EventsPage.qml b/res/gui/EventsPage.qml index 0ce21e4..d21b5bb 100644 --- a/res/gui/EventsPage.qml +++ b/res/gui/EventsPage.qml @@ -254,7 +254,7 @@ Page {        model: filter        delegate: ItemDelegate {          required property string eventName -        required property list<string> competitors +        property list<QtObject> competitors          text: eventName          width: listView.width - listView.leftMargin - listView.rightMargin          height: avatar.height  | 
