mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Fix paused avatar.
Fix getting old design on incoming call. Fix "alone conference" message on one-one. Fix complex address display with tags in wiating room and incall.
This commit is contained in:
parent
1d745e439e
commit
4fcb0110d0
4 changed files with 8 additions and 7 deletions
|
|
@ -42,7 +42,7 @@ Avatar {
|
|||
return null;
|
||||
}
|
||||
|
||||
username: _username ? _username : ''
|
||||
username: !mainItem.isPaused && _username ? _username : ''
|
||||
Text {
|
||||
anchors.fill: parent
|
||||
color: CallStyle.container.pause.text.color
|
||||
|
|
|
|||
|
|
@ -86,8 +86,8 @@ function getContent (call, conferenceInfoModel) {
|
|||
}
|
||||
var CallModel = Linphone.CallModel
|
||||
if (status === CallModel.CallStatusIncoming) {
|
||||
console.log("incomingCall")
|
||||
return incomingCall
|
||||
console.log("waitingRoom")
|
||||
return waitingRoom
|
||||
}
|
||||
if( window.conferenceInfoModel != call.conferenceInfoModel) {
|
||||
Qt.callLater(function(){window.conferenceInfoModel = call.conferenceInfoModel})
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ Rectangle {
|
|||
&& conferenceLayout.item && conferenceLayout.status == Loader.Ready
|
||||
function updateMessageBanner(){
|
||||
//: ''You are alone in this conference' : Text in message banner when the user is the only participant.
|
||||
if( isReady && participantCount <= 1) messageBanner.noticeBannerText = qsTr('aloneInConference')
|
||||
if( conferenceModel && isReady && participantCount <= 1) messageBanner.noticeBannerText = qsTr('aloneInConference')
|
||||
}
|
||||
Timer{
|
||||
id: delayMessageBanner
|
||||
|
|
@ -183,11 +183,12 @@ Rectangle {
|
|||
// Title
|
||||
Item{
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: title.contentHeight
|
||||
Layout.preferredHeight: title.contentHeight + address.contentHeight
|
||||
ColumnLayout{
|
||||
anchors.fill: parent
|
||||
Text{
|
||||
id: title
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Timer{
|
||||
id: elapsedTimeRefresher
|
||||
running: true
|
||||
|
|
@ -215,7 +216,7 @@ Rectangle {
|
|||
horizontalAlignment: Qt.AlignHCenter
|
||||
visible: !conferenceModel && callModel && !callModel.isConference
|
||||
text: !conferenceModel && callModel
|
||||
? callModel.peerAddress
|
||||
? SipAddressesModel.cleanSipAddress(callModel.peerAddress)
|
||||
: ''
|
||||
color: IncallStyle.title.color
|
||||
font.pointSize: IncallStyle.title.addressPointSize
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ Rectangle {
|
|||
}
|
||||
Text{
|
||||
Layout.fillWidth: true
|
||||
text: mainItem.callModel && mainItem.callModel.peerAddress
|
||||
text: mainItem.callModel && SipAddressesModel.cleanSipAddress(mainItem.callModel.peerAddress)
|
||||
color: WaitingRoomStyle.callee.color
|
||||
font.pointSize: WaitingRoomStyle.callee.addressPointSize
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue