solve qml unique id conflicts

fixes the daemon mode
This commit is contained in:
Marco Martin 2015-06-10 12:30:43 -07:00
parent af5fd90ea1
commit 90c6887491

View file

@ -22,7 +22,7 @@ import org.nemomobile.voicecall 1.0
Item { Item {
id: root id: ofonoWrapper
//BEGIN PROPERTIES //BEGIN PROPERTIES
property string status: "idle" property string status: "idle"
@ -146,29 +146,29 @@ Item {
previousStatus = status; previousStatus = status;
switch (status) { switch (status) {
case 1: case 1:
root.status = "active"; ofonoWrapper.status = "active";
break; break;
case 2: case 2:
root.status = "held"; ofonoWrapper.status = "held";
break; break;
case 3: case 3:
root.status = "dialing"; ofonoWrapper.status = "dialing";
break; break;
case 4: case 4:
root.status = "alerting"; ofonoWrapper.status = "alerting";
break; break;
case 5: case 5:
root.status = "incoming"; ofonoWrapper.status = "incoming";
break; break;
case 6: case 6:
root.status = "waiting"; ofonoWrapper.status = "waiting";
break; break;
case 7: case 7:
root.status = "disconnected"; ofonoWrapper.status = "disconnected";
break; break;
case 0: case 0:
default: default:
root.status = "idle"; ofonoWrapper.status = "idle";
break; break;
} }
} }