on xenial help sign in
Adapt to new code
commitf18d9604d9e22502016d13bb5047780c563c2ed5 authorAlbert Astals <albert.astals@canonical.com> dateThu 30 Oct 2014, 13:36 (12 years ago) parent1f5e2da
6 files changed+6−12
tests/plugins/Dash/cardcreator/1.res+1−2 tests/plugins/Dash/cardcreator/2.res+1−2 tests/plugins/Dash/cardcreator/3.res+1−2 tests/plugins/Dash/cardcreator/4.res+1−2 tests/plugins/Dash/cardcreator/5.res+1−2 tests/plugins/Dash/cardcreator/7.res+1−2
tests/plugins/Dash/cardcreator/1.res+1−2
@@ -47,8 +47,7 @@ Item {
4747 CroppedImageMinimumSourceSize {
4848 id: artImage;
4949 objectName: "artImage";
50− property bool doLoadSource: !NetworkingStatus.limitedBandwith;
51− source: { if (root.visible) doLoadSource = true; return doLoadSource && cardData && cardData["art"] || ""; }
50+ source: cardData && cardData["art"] || "";
5251 asynchronous: root.asynchronous;
5352 visible: false;
5453 width: root.width;
tests/plugins/Dash/cardcreator/2.res+1−2
@@ -66,8 +66,7 @@ CroppedImageMinimumSourceSize {
6666 id: mascotImage;
6767 objectName: "mascotImage";
6868 anchors { verticalCenter: parent.verticalCenter; }
69− property bool doLoadSource: !NetworkingStatus.limitedBandwith;
70− source: { if (root.visible) doLoadSource = true; return doLoadSource && cardData && cardData["mascot"] || ""; }
69+ source: cardData && cardData["mascot"] || "";
7170 width: units.gu(6);
7271 height: units.gu(5.625);
7372 horizontalAlignment: Image.AlignHCenter;
tests/plugins/Dash/cardcreator/3.res+1−2
@@ -47,8 +47,7 @@ Item {
4747 CroppedImageMinimumSourceSize {
4848 id: artImage;
4949 objectName: "artImage";
50− property bool doLoadSource: !NetworkingStatus.limitedBandwith;
51− source: { if (root.visible) doLoadSource = true; return doLoadSource && cardData && cardData["art"] || ""; }
50+ source: cardData && cardData["art"] || "";
5251 asynchronous: root.asynchronous;
5352 visible: false;
5453 width: root.width;
tests/plugins/Dash/cardcreator/4.res+1−2
@@ -45,8 +45,7 @@ Loader {
4545 id: mascotImage;
4646 objectName: "mascotImage";
4747 anchors { verticalCenter: parent.verticalCenter; }
48− property bool doLoadSource: !NetworkingStatus.limitedBandwith;
49− source: { if (root.visible) doLoadSource = true; return doLoadSource && cardData && cardData["mascot"] || ""; }
48+ source: cardData && cardData["mascot"] || "";
5049 width: units.gu(6);
5150 height: units.gu(5.625);
5251 horizontalAlignment: Image.AlignHCenter;
tests/plugins/Dash/cardcreator/5.res+1−2
@@ -47,8 +47,7 @@ Item {
4747 CroppedImageMinimumSourceSize {
4848 id: artImage;
4949 objectName: "artImage";
50− property bool doLoadSource: !NetworkingStatus.limitedBandwith;
51− source: { if (root.visible) doLoadSource = true; return doLoadSource && cardData && cardData["art"] || ""; }
50+ source: cardData && cardData["art"] || "";
5251 asynchronous: root.asynchronous;
5352 visible: false;
5453 width: root.width;
tests/plugins/Dash/cardcreator/7.res+1−2
@@ -66,8 +66,7 @@ CroppedImageMinimumSourceSize {
6666 id: mascotImage;
6767 objectName: "mascotImage";
6868 anchors { verticalCenter: parent.verticalCenter; }
69− property bool doLoadSource: !NetworkingStatus.limitedBandwith;
70− source: { if (root.visible) doLoadSource = true; return doLoadSource && cardData && cardData["mascot"] || ""; }
69+ source: cardData && cardData["mascot"] || "";
7170 width: units.gu(6);
7271 height: units.gu(5.625);
7372 horizontalAlignment: Image.AlignHCenter;