summaryrefslogtreecommitdiffstats
path: root/app/ContactsView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/ContactsView.qml')
-rw-r--r--app/ContactsView.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/ContactsView.qml b/app/ContactsView.qml
index 5c2c327..66f2199 100644
--- a/app/ContactsView.qml
+++ b/app/ContactsView.qml
@@ -26,15 +26,15 @@ Item {
id: root
function display_type(type) {
- if (type == PhoneNumber.CELL) {
+ if (type === PhoneNumber.CELL) {
return "M"
- } else if (type == PhoneNumber.WORK) {
+ } else if (type === PhoneNumber.WORK) {
return "W"
- } else if (type == PhoneNumber.HOME) {
+ } else if (type === PhoneNumber.HOME) {
return "H"
- } else if (type == PhoneNumber.FAX) {
+ } else if (type === PhoneNumber.FAX) {
return "F"
- } else if (type == PhoneNumber.VOICE) {
+ } else if (type === PhoneNumber.VOICE) {
return "V"
} else {
return "O"