@@ -39,18 +39,18 @@ Rectangle {
39 PreviewSharing {
39 PreviewSharing {
40 id: previewSharing
40 id: previewSharing
41 anchors { left: parent.left; bottom: parent.bottom; }
41 anchors { left: parent.left; bottom: parent.bottom; }
42− shareUris: shareUris
42+ shareUris: root.shareUris
45 UT.UnityTestCase {
45 UT.UnityTestCase {
46 name: "PreviewSharingTest"
46 name: "PreviewSharingTest"
47 when: windowShown
47 when: windowShown
49− property Item peerPicker: findChild(previewSharing, "peerPicker")
49+ property Item peerPicker: findChild(previewSharing.rootItem, "peerPicker")
51 function cleanup() {
51 function cleanup() {
52 peerPicker.visible = false;
52 peerPicker.visible = false;
53− previewSharing.shareUris = shareUris;
53+ previewSharing.shareUris = root.shareUris;
56 function test_visible() {
56 function test_visible() {