on xenial help sign in
Adapt to new code
f18d960Albert Astals
tests/plugins/Dash/cardcreator/1.res+1−2
@@ -47,8 +47,7 @@ Item {
47 CroppedImageMinimumSourceSize {
47 CroppedImageMinimumSourceSize {
48 id: artImage;
48 id: artImage;
49 objectName: "artImage";
49 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"] || "";
52 asynchronous: root.asynchronous;
51 asynchronous: root.asynchronous;
53 visible: false;
52 visible: false;
54 width: root.width;
53 width: root.width;
tests/plugins/Dash/cardcreator/2.res+1−2
@@ -66,8 +66,7 @@ CroppedImageMinimumSourceSize {
66 id: mascotImage;
66 id: mascotImage;
67 objectName: "mascotImage";
67 objectName: "mascotImage";
68 anchors { verticalCenter: parent.verticalCenter; }
68 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"] || "";
71 width: units.gu(6);
70 width: units.gu(6);
72 height: units.gu(5.625);
71 height: units.gu(5.625);
73 horizontalAlignment: Image.AlignHCenter;
72 horizontalAlignment: Image.AlignHCenter;
tests/plugins/Dash/cardcreator/3.res+1−2
@@ -47,8 +47,7 @@ Item {
47 CroppedImageMinimumSourceSize {
47 CroppedImageMinimumSourceSize {
48 id: artImage;
48 id: artImage;
49 objectName: "artImage";
49 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"] || "";
52 asynchronous: root.asynchronous;
51 asynchronous: root.asynchronous;
53 visible: false;
52 visible: false;
54 width: root.width;
53 width: root.width;
tests/plugins/Dash/cardcreator/4.res+1−2
@@ -45,8 +45,7 @@ Loader {
45 id: mascotImage;
45 id: mascotImage;
46 objectName: "mascotImage";
46 objectName: "mascotImage";
47 anchors { verticalCenter: parent.verticalCenter; }
47 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"] || "";
50 width: units.gu(6);
49 width: units.gu(6);
51 height: units.gu(5.625);
50 height: units.gu(5.625);
52 horizontalAlignment: Image.AlignHCenter;
51 horizontalAlignment: Image.AlignHCenter;
tests/plugins/Dash/cardcreator/5.res+1−2
@@ -47,8 +47,7 @@ Item {
47 CroppedImageMinimumSourceSize {
47 CroppedImageMinimumSourceSize {
48 id: artImage;
48 id: artImage;
49 objectName: "artImage";
49 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"] || "";
52 asynchronous: root.asynchronous;
51 asynchronous: root.asynchronous;
53 visible: false;
52 visible: false;
54 width: root.width;
53 width: root.width;
tests/plugins/Dash/cardcreator/7.res+1−2
@@ -66,8 +66,7 @@ CroppedImageMinimumSourceSize {
66 id: mascotImage;
66 id: mascotImage;
67 objectName: "mascotImage";
67 objectName: "mascotImage";
68 anchors { verticalCenter: parent.verticalCenter; }
68 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"] || "";
71 width: units.gu(6);
70 width: units.gu(6);
72 height: units.gu(5.625);
71 height: units.gu(5.625);
73 horizontalAlignment: Image.AlignHCenter;
72 horizontalAlignment: Image.AlignHCenter;