mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
less junk in the panel
This commit is contained in:
parent
d9362680b3
commit
cce25114bb
1 changed files with 2 additions and 2 deletions
|
|
@ -320,14 +320,14 @@ Item {
|
||||||
left: strengthIcon.right
|
left: strengthIcon.right
|
||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
text: netreg.strength + "% " + (ofonoManager.available && netreg.currentOperator ? netreg.currentOperator["Name"].toString() :"Ofono not available")
|
text: (ofonoManager.available && netreg.currentOperator ? netreg.strength + "% " + netreg.currentOperator["Name"].toString() : i18n("No SIM"))
|
||||||
color: "white"
|
color: "white"
|
||||||
font.pixelSize: parent.height / 2
|
font.pixelSize: parent.height / 2
|
||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
id: clock
|
id: clock
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
text: Qt.formatDateTime(timeSource.data.Local.DateTime)
|
text: Qt.formatTime(timeSource.data.Local.DateTime, "hh:mm")
|
||||||
color: "white"
|
color: "white"
|
||||||
horizontalAlignment: Qt.AlignHCenter
|
horizontalAlignment: Qt.AlignHCenter
|
||||||
verticalAlignment: Qt.AlignVCenter
|
verticalAlignment: Qt.AlignVCenter
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue