Make the other Card* async too
commit384ef9a83754c47e555d0f3c6a5fbb15e9e2b56a
authorAlbert Astals <albert.astals@canonical.com>
dateMon 3 Nov 2014, 10:41 (12 years ago)
parent0f4b6e6
qml/Dash/CardCarousel.qml+1
@@ -52,6 +52,7 @@ DashRenderer {
5252 function pressAndHold() { cardCarousel.pressAndHold(index, model.result, model) }
5353
5454 sourceComponent: cardTool.cardComponent
55+ asynchronous: true
5556 onLoaded: {
5657 item.fixedHeaderHeight = Qt.binding(function() { return carousel.headerHeight; });
5758 item.height = Qt.binding(function() { return cardTool.cardHeight; });
qml/Dash/CardHorizontalList.qml+1
@@ -43,6 +43,7 @@ DashRenderer {
4343 sourceComponent: cardTool.cardComponent
4444 anchors { top: parent.top; bottom: parent.bottom }
4545 width: cardTool.cardWidth
46+ asynchronous: true
4647 onLoaded: {
4748 item.objectName = "delegate" + index;
4849 item.fixedArtShapeSize = Qt.binding(function() { return cardTool.artShapeSize; });
qml/Dash/CardVerticalJournal.qml+1
@@ -49,6 +49,7 @@ DashRenderer {
4949 id: loader
5050 sourceComponent: cardTool.cardComponent
5151 width: cardTool.cardWidth
52+ asynchronous: true
5253 onLoaded: {
5354 item.objectName = "delegate" + index;
5455 item.fixedArtShapeSize = Qt.binding(function() { return cardTool.artShapeSize; });