how the window when the phone is ringing

This commit is contained in:
Marco Martin 2015-04-21 12:28:14 +02:00
parent fc047fd462
commit 2081b4d628

View file

@ -37,6 +37,15 @@ ApplicationWindow {
property int status: voiceCallmanager.activeVoiceCall ? voiceCallmanager.activeVoiceCall.status : 0
//END PROPERTIES
//BEGIN SIGNAL HANDLERS
onStatusChanged: {
//STATUS_INCOMING
if (status == 5) {
root.visible = true;
}
}
//END SIGNAL HANDLERS
//BEGIN MODELS
OfonoManager {
id: ofonoManager