summaryrefslogtreecommitdiffstats
path: root/demos/declarative/flickr/mobile/GridDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/flickr/mobile/GridDelegate.qml')
-rw-r--r--demos/declarative/flickr/mobile/GridDelegate.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/declarative/flickr/mobile/GridDelegate.qml b/demos/declarative/flickr/mobile/GridDelegate.qml
index 5722f10..7634573 100644
--- a/demos/declarative/flickr/mobile/GridDelegate.qml
+++ b/demos/declarative/flickr/mobile/GridDelegate.qml
@@ -33,9 +33,9 @@
Image { source: "images/gloss.png" }
}
- Connection {
- sender: toolBar; signal: "button2Clicked()"
- script: if (scaleMe.state == 'Details' ) scaleMe.state = 'Show';
+ Connections {
+ target: toolBar
+ onButton2Clicked: if (scaleMe.state == 'Details' ) scaleMe.state = 'Show'
}
states: [