on xenial help sign in
different approach
commit4fcf8c645ad2b89dd78655dac71af259a048e03a authorAndrea Cimitan <andrea.cimitan@gmail.com> dateThu 2 Jun 2016, 16:13 (10 years ago) parent2c34dfd
4 files changed+2−5
plugins/Dash/CardCreator.js−1 tests/plugins/Dash/cardcreator/3.res−1 tests/plugins/Dash/cardcreator/3.res.cardcreator−1 tests/qmltests/Dash/tst_Dash.qml+2−2
plugins/Dash/CardCreator.js−1
@@ -69,7 +69,6 @@ var kArtUbuntuShapeCode = 'UbuntuShape { \n\
6969 }';
7070
7171var kArtProportionalShapeCode = 'ProportionalShape { \n\
72− objectName: "artShapeProportionalShape"; \n\
7372 anchors.fill: parent; \n\
7473 source: artImage; \n\
7574 aspect: UbuntuShape.DropShadow; \n\
tests/plugins/Dash/cardcreator/3.res−1
@@ -31,7 +31,6 @@ Item {
3131 visible: image.status == Image.Ready;
3232 readonly property alias image: artImage;
3333 ProportionalShape {
34− objectName: "artShapeProportionalShape";
3534 anchors.fill: parent;
3635 source: artImage;
3736 aspect: UbuntuShape.DropShadow;
tests/plugins/Dash/cardcreator/3.res.cardcreator−1
@@ -30,7 +30,6 @@ Item {
3030 visible: image.status == Image.Ready;
3131 readonly property alias image: artImage;
3232 ProportionalShape {
33− objectName: "artShapeProportionalShape";
3433 anchors.fill: parent;
3534 source: artImage;
3635 aspect: UbuntuShape.DropShadow;
tests/qmltests/Dash/tst_Dash.qml+2−2
@@ -650,8 +650,8 @@ Item {
650650
651651 scrollToCategory("dashCategorypredefined");
652652 var tile = getCategoryDelegate("predefined", 2);
653− var proportionalShape = findChild(tile, "artShapeProportionalShape");
654− verify(proportionalShape != undefined);
653+ var proportionalShape = findChildsByType(tile, "UCProportionalShape");
654+ compare(proportionalShape.length, 1);
655655 }
656656
657657 function test_tempScopeItemXOnResize()