diff options
author | Zeno Albisser <zeno.albisser@digia.com> | 2013-06-18 16:18:12 +0200 |
---|---|---|
committer | Zeno Albisser <zeno.albisser@digia.com> | 2013-06-18 16:18:12 +0200 |
commit | 658354db329c5a0bd163a6366ce4705bed2eadf3 (patch) | |
tree | ce673b0e7c8ea8494da185a983ff67a676162648 /examples | |
parent | 4e9e513e3415ebb07da2d6360d770288765c3d54 (diff) |
Use QQmlProperty::write instead of Binding item.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/qtquick/quickwindow.qml | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/examples/qtquick/quickwindow.qml b/examples/qtquick/quickwindow.qml index 688014b6f..7d42b2c01 100644 --- a/examples/qtquick/quickwindow.qml +++ b/examples/qtquick/quickwindow.qml @@ -49,24 +49,6 @@ ApplicationWindow { anchors.fill: parent url: "http://qt-project.org/" - Binding { - target: webContentsView.children[0] - property: 'anchors.fill' - value: webContentsView - when: webContentsView.children.length > 0 - } - onUrlChanged: addressBar.text = url } - - Text { - id: info - anchors.top: parent.top - anchors.right: parent.right - horizontalAlignment: "AlignRight" - width: 100 - height: 100 - - text: viewContainer.children[0].width + "x" + viewContainer.children[0].height - } } |