on xenial help sign in
Adapt to changes
10798a8Albert Astals Cid
tests/plugins/Dash/cardcreator/9.res+2−3
@@ -67,7 +67,7 @@ CardAudioProgress {
67 right: parent.right;
67 right: parent.right;
68 margins: units.gu(1);
68 margins: units.gu(1);
69 }
69 }
70− color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;
70+ color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText;
71 }AbstractButton {
71 }AbstractButton {
72 id: audioButton;
72 id: audioButton;
73 anchors.fill: undefined;
73 anchors.fill: undefined;
@@ -78,11 +78,10 @@ CardAudioProgress {
78 anchors.fill: parent;
78 anchors.fill: parent;
79 visible: parent.pressed;
79 visible: parent.pressed;
80 radius: "medium";
80 radius: "medium";
81− borderSource: "radius_pressed.sci"
82 }
81 }
83 Icon {
82 Icon {
84 anchors.fill: parent;
83 anchors.fill: parent;
85− anchors.margins: parent.height > units.gu(5) ? units.gu(2) : units.gu(0);
84+ anchors.margins: parent.height > units.gu(5) ? units.gu(2) : 0;
86 opacity: 0.9;
85 opacity: 0.9;
87 name: DashAudioPlayer.playing && AudioUrlComparer.compare(parent.source, DashAudioPlayer.currentSource) ? "media-playback-pause" : "media-playback-start";
86 name: DashAudioPlayer.playing && AudioUrlComparer.compare(parent.source, DashAudioPlayer.currentSource) ? "media-playback-pause" : "media-playback-start";
88 }
87 }