mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
fix(ui/views/App/Calls/EndedCall): test call and coding style
This commit is contained in:
parent
fa1626993e
commit
40a929a0f9
2 changed files with 9 additions and 10 deletions
|
|
@ -77,15 +77,14 @@ Rectangle {
|
|||
Layout.preferredHeight: CallStyle.actionArea.height
|
||||
|
||||
Text {
|
||||
width: parent.width
|
||||
|
||||
color: CallStyle.header.reason.color
|
||||
font.pointSize: CallStyle.header.reason.fontSize
|
||||
color: CallStyle.actionArea.callError.color
|
||||
font.pointSize: CallStyle.actionArea.callError.fontSize
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
width: parent.width
|
||||
|
||||
text: {
|
||||
var call = endedCall.call
|
||||
return call.reason
|
||||
return call ? call.reason : ''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,6 +23,11 @@ QtObject {
|
|||
property QtObject vu: QtObject {
|
||||
property int spacing: 5
|
||||
}
|
||||
|
||||
property QtObject callError: QtObject {
|
||||
property color color: Colors.i
|
||||
property int fontSize: 12
|
||||
}
|
||||
}
|
||||
|
||||
property QtObject container: QtObject {
|
||||
|
|
@ -70,10 +75,5 @@ QtObject {
|
|||
property QtObject stats: QtObject {
|
||||
property int relativeY: 90
|
||||
}
|
||||
|
||||
property QtObject reason: QtObject {
|
||||
property color color: Colors.i
|
||||
property int fontSize: 12
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue