summaryrefslogtreecommitdiffstats
path: root/demos/declarative/flickr/flickr-mobile.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/flickr/flickr-mobile.qml')
-rw-r--r--demos/declarative/flickr/flickr-mobile.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/declarative/flickr/flickr-mobile.qml b/demos/declarative/flickr/flickr-mobile.qml
index 77ccd08..21e4c49 100644
--- a/demos/declarative/flickr/flickr-mobile.qml
+++ b/demos/declarative/flickr/flickr-mobile.qml
@@ -53,9 +53,9 @@ Item {
onButton2Clicked: if (screen.inListView == true) screen.inListView = false; else screen.inListView = true
}
- Connection {
- sender: imageDetails; signal: "closed()"
- script: {
+ Connections {
+ target: imageDetails
+ onClosed: {
if (background.state == "DetailedView") {
background.state = '';
imageDetails.photoUrl = "";