summaryrefslogtreecommitdiffstats
path: root/demos/qmlcontacts/contents/ContactListView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/qmlcontacts/contents/ContactListView.qml')
-rw-r--r--demos/qmlcontacts/contents/ContactListView.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/demos/qmlcontacts/contents/ContactListView.qml b/demos/qmlcontacts/contents/ContactListView.qml
index 8ffbde530b..7b39e2be78 100644
--- a/demos/qmlcontacts/contents/ContactListView.qml
+++ b/demos/qmlcontacts/contents/ContactListView.qml
@@ -60,6 +60,7 @@ Item {
focus: true
keyNavigationWraps: true
opacity: 0.8
+ clip: true
model: contacts
@@ -164,10 +165,14 @@ Item {
MediaButton {
id: dialButton;
text: "Dial";
+
+ onClicked: Qt.openUrlExternally("tel:" + model.contact.phoneNumber.number)
}
MediaButton {
id: textButton
text: "Send Text";
+
+ onClicked: Qt.openUrlExternally("sms:" + model.contact.phoneNumber.number)
}
Item {
height:childrenRect.height