mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-02 17:54:45 +00:00
fix phone signal indicator
This commit is contained in:
parent
2503593ef4
commit
9b06ffd68e
2 changed files with 13 additions and 2 deletions
|
|
@ -104,6 +104,17 @@ PlasmaCore.ColorScope {
|
||||||
interval: 60 * 1000
|
interval: 60 * 1000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
OfonoManager {
|
||||||
|
id: ofonoManager
|
||||||
|
onAvailableChanged: {
|
||||||
|
console.log("Ofono is " + available)
|
||||||
|
}
|
||||||
|
onModemAdded: {
|
||||||
|
console.log("modem added " + modem)
|
||||||
|
}
|
||||||
|
onModemRemoved: console.log("modem removed")
|
||||||
|
}
|
||||||
|
|
||||||
OfonoNetworkRegistration {
|
OfonoNetworkRegistration {
|
||||||
id: netreg
|
id: netreg
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,8 @@ ApplicationWindow {
|
||||||
height: 800
|
height: 800
|
||||||
visible: true
|
visible: true
|
||||||
color: Qt.rgba(0, 0, 0, 0.9)
|
color: Qt.rgba(0, 0, 0, 0.9)
|
||||||
|
|
||||||
OfonoManager {
|
OfonoManager {
|
||||||
id: ofonoManager
|
id: ofonoManager
|
||||||
onAvailableChanged: {
|
onAvailableChanged: {
|
||||||
console.log("Ofono is " + available)
|
console.log("Ofono is " + available)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue