on xenial help sign in
Make the other Card* async too
384ef9aAlbert Astals
qml/Dash/CardCarousel.qml+1
@@ -52,6 +52,7 @@ DashRenderer {
52 function pressAndHold() { cardCarousel.pressAndHold(index, model.result, model) }
52 function pressAndHold() { cardCarousel.pressAndHold(index, model.result, model) }
53
53
54 sourceComponent: cardTool.cardComponent
54 sourceComponent: cardTool.cardComponent
55+ asynchronous: true
55 onLoaded: {
56 onLoaded: {
56 item.fixedHeaderHeight = Qt.binding(function() { return carousel.headerHeight; });
57 item.fixedHeaderHeight = Qt.binding(function() { return carousel.headerHeight; });
57 item.height = Qt.binding(function() { return cardTool.cardHeight; });
58 item.height = Qt.binding(function() { return cardTool.cardHeight; });
qml/Dash/CardHorizontalList.qml+1
@@ -43,6 +43,7 @@ DashRenderer {
43 sourceComponent: cardTool.cardComponent
43 sourceComponent: cardTool.cardComponent
44 anchors { top: parent.top; bottom: parent.bottom }
44 anchors { top: parent.top; bottom: parent.bottom }
45 width: cardTool.cardWidth
45 width: cardTool.cardWidth
46+ asynchronous: true
46 onLoaded: {
47 onLoaded: {
47 item.objectName = "delegate" + index;
48 item.objectName = "delegate" + index;
48 item.fixedArtShapeSize = Qt.binding(function() { return cardTool.artShapeSize; });
49 item.fixedArtShapeSize = Qt.binding(function() { return cardTool.artShapeSize; });
qml/Dash/CardVerticalJournal.qml+1
@@ -49,6 +49,7 @@ DashRenderer {
49 id: loader
49 id: loader
50 sourceComponent: cardTool.cardComponent
50 sourceComponent: cardTool.cardComponent
51 width: cardTool.cardWidth
51 width: cardTool.cardWidth
52+ asynchronous: true
52 onLoaded: {
53 onLoaded: {
53 item.objectName = "delegate" + index;
54 item.objectName = "delegate" + index;
54 item.fixedArtShapeSize = Qt.binding(function() { return cardTool.artShapeSize; });
55 item.fixedArtShapeSize = Qt.binding(function() { return cardTool.artShapeSize; });