1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 | /*
#FIXME: The following lines of code is necessary due to a upstream bug
in the SDK http://pad.lv/1400297. This bug is still present in the rtm.
Once it is fixed, this following property and connection can be remvoed.
*/
property Item __oldContents: null
Connections {
target: podcastPage.head
onContentsChanged: {
if (podcastPage.__oldContents) {
podcastPage.__oldContents.parent = null;
}
podcastPage.__oldContents = podcastPage.head.contents;
}
}
|