diff --git a/layouts/components/BrowserView/ContentView.qml b/layouts/components/BrowserView/ContentView.qml index a0ee229..b2e23fa 100644 --- a/layouts/components/BrowserView/ContentView.qml +++ b/layouts/components/BrowserView/ContentView.qml @@ -44,9 +44,7 @@ StackLayout { z: 1.2 height: parent.height * 0.25 width: parent.width - title: elementColumn.children[ySelect].provider.getShow(rowSelector.children[ySelect].xIndex).title - year: elementColumn.children[ySelect].provider.getShow(rowSelector.children[ySelect].xIndex).year - description: elementColumn.children[ySelect].provider.getShow(rowSelector.children[ySelect].xIndex).description + show: elementColumn.children[ySelect].provider.getShow(elementColumn.children[ySelect].repeaterModel[elementColumn.children[ySelect].xIndex]) } ScrollView { z: 1.0 diff --git a/layouts/components/BrowserView/ContentView/ShowDetails.qml b/layouts/components/BrowserView/ContentView/ShowDetails.qml index ba4fc09..c255448 100644 --- a/layouts/components/BrowserView/ContentView/ShowDetails.qml +++ b/layouts/components/BrowserView/ContentView/ShowDetails.qml @@ -1,10 +1,7 @@ import QtQuick 2.12 Row { - id: root - property string title - property int year - property string description + property var show Item { height: parent.height width: 16 @@ -18,17 +15,17 @@ Row { width: parent.width } Text { - text: title + text: show.title font.pointSize: 30 color: "#cdd7d9" } Text { - text: year + text: show.year font.pointSize: 15 color: "#99afb4" } Text { - text: description + text: show.description font.pointSize: 13 color: "#cdd7d9" width: parent.width * 0.6