summaryrefslogtreecommitdiff
path: root/examples/ivicore/qface-ivi-addressbook/demo/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ivicore/qface-ivi-addressbook/demo/main.qml')
-rw-r--r--examples/ivicore/qface-ivi-addressbook/demo/main.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/ivicore/qface-ivi-addressbook/demo/main.qml b/examples/ivicore/qface-ivi-addressbook/demo/main.qml
index 30a6824..1f93250 100644
--- a/examples/ivicore/qface-ivi-addressbook/demo/main.qml
+++ b/examples/ivicore/qface-ivi-addressbook/demo/main.qml
@@ -78,6 +78,7 @@ Window {
Layout.fillWidth: true
Layout.fillHeight: true
model: addressBook.contacts
+ clip: true
delegate: ItemDelegate {
width: parent.width
@@ -89,7 +90,7 @@ Window {
Button {
Layout.fillWidth: true
text: "New Contact"
- onClicked: addressBook.insertContact(0, AddressBookModule.contact())
+ onClicked: addressBook.insertContact(0, AddressBookModule.contact("Foo", "Bar", "12234"))
}
}
}