From 90c6887491afca74e37191c11ae8e871e6f3d362 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 10 Jun 2015 12:30:43 -0700 Subject: [PATCH] solve qml unique id conflicts fixes the daemon mode --- dialer/package/contents/ui/OfonoWrapper.qml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dialer/package/contents/ui/OfonoWrapper.qml b/dialer/package/contents/ui/OfonoWrapper.qml index 3b90ff91..ff0d7cfb 100644 --- a/dialer/package/contents/ui/OfonoWrapper.qml +++ b/dialer/package/contents/ui/OfonoWrapper.qml @@ -22,7 +22,7 @@ import org.nemomobile.voicecall 1.0 Item { - id: root + id: ofonoWrapper //BEGIN PROPERTIES property string status: "idle" @@ -146,29 +146,29 @@ Item { previousStatus = status; switch (status) { case 1: - root.status = "active"; + ofonoWrapper.status = "active"; break; case 2: - root.status = "held"; + ofonoWrapper.status = "held"; break; case 3: - root.status = "dialing"; + ofonoWrapper.status = "dialing"; break; case 4: - root.status = "alerting"; + ofonoWrapper.status = "alerting"; break; case 5: - root.status = "incoming"; + ofonoWrapper.status = "incoming"; break; case 6: - root.status = "waiting"; + ofonoWrapper.status = "waiting"; break; case 7: - root.status = "disconnected"; + ofonoWrapper.status = "disconnected"; break; case 0: default: - root.status = "idle"; + ofonoWrapper.status = "idle"; break; } }