mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
how the window when the phone is ringing
This commit is contained in:
parent
fc047fd462
commit
2081b4d628
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue