@@ -36,9 +36,9 @@ Rectangle {
3636 }
3737
3838 property var tracksModel2: {
39− "tracks": [ { title: "Some track name", length: "30", source: "../../tests/qmltests/Dash/Music/data/testsound1.ogg" },
40− { title: "Some other track name", subtitle: "Subtitle", length: "83", source: "../../tests/qmltests/Dash/Music/data/testsound2.ogg" },
41− { title: "And another one", length: "7425", source: "../../tests/qmltests/Dash/Music/data/testsound3.ogg" } ]
39+ "tracks": [ { title: "Some track name", length: "30", source: "not-existing_testsound1.ogg" },
40+ { title: "Some other track name", subtitle: "Subtitle", length: "83", source: "not-existing_testsound2.ogg" },
41+ { title: "And another one", length: "7425", source: "not-existing_testsound3.ogg" } ]
4242 }
4343
4444 AudioPlayer {
@@ -170,8 +170,8 @@ Rectangle {
170170 tryCompare(track1ProgressBar, "visible", false);
171171 tryCompare(track2ProgressBar, "visible", true);
172172
173− // Calling stop() should make all players shut up!
174− audioPlayer.focused = false
173+ // Changing preview should make all players shut up!
174+ audioPlayer.isCurrentPreview = false
175175 tryCompare(audio, "playbackState", Audio.StoppedState);
176176 }
177177 }