summaryrefslogtreecommitdiffstats
path: root/demos/declarative/flickr/flickr-desktop.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/flickr/flickr-desktop.qml')
-rw-r--r--demos/declarative/flickr/flickr-desktop.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/declarative/flickr/flickr-desktop.qml b/demos/declarative/flickr/flickr-desktop.qml
index 3a86347..99216cb 100644
--- a/demos/declarative/flickr/flickr-desktop.qml
+++ b/demos/declarative/flickr/flickr-desktop.qml
@@ -21,9 +21,9 @@ Item {
angle: wrapper.PathView.angle ? wrapper.PathView.angle : 0
}
- Connection {
- sender: imageDetails; signal: "closed()"
- script: {
+ Connections {
+ target: imageDetails
+ onClosed: {
if (wrapper.state == 'Details') {
wrapper.state = '';
imageDetails.photoUrl = "";