diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-09-07 03:13:25 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-09-07 03:13:25 (GMT) |
commit | 9008c7002ffe6617ffcd602a7a9923e83e8b8f80 (patch) | |
tree | 784c075dccc463b8c40311455747a325f4ff3295 /demos/declarative/flickr/mobile | |
parent | 16cdd82a88a63ea050ab2cf70368e023fe50c5bd (diff) | |
download | Qt-9008c7002ffe6617ffcd602a7a9923e83e8b8f80.zip Qt-9008c7002ffe6617ffcd602a7a9923e83e8b8f80.tar.gz Qt-9008c7002ffe6617ffcd602a7a9923e83e8b8f80.tar.bz2 |
Remove KeyProxy in favour of the Keys.forwardTo attached property.
Diffstat (limited to 'demos/declarative/flickr/mobile')
-rw-r--r-- | demos/declarative/flickr/mobile/TitleBar.qml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/demos/declarative/flickr/mobile/TitleBar.qml b/demos/declarative/flickr/mobile/TitleBar.qml index 79c1326..b95452a 100644 --- a/demos/declarative/flickr/mobile/TitleBar.qml +++ b/demos/declarative/flickr/mobile/TitleBar.qml @@ -53,11 +53,7 @@ Item { color: "#151515"; highlightColor: "Green" } - KeyProxy { - id: Proxy - anchors.fill: parent - targets: [(ReturnKey), (Editor)] - } + Keys.forwardTo: [ (ReturnKey), (Editor)] Item { id: ReturnKey @@ -71,7 +67,7 @@ Item { name: "Tags" PropertyChanges { target: Container; x: -TagButton.x + 5 } PropertyChanges { target: TagButton; text: "OK" } - PropertyChanges { target: Proxy; focus: true } + PropertyChanges { target: LineEdit; focus: true } } transitions: Transition { |