mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-28 17:29:19 +00:00
fix(ui/views/App/Calls/Conference): remove useless tooltip that block button animations on pause
This commit is contained in:
parent
62428fa155
commit
29d54f7ec7
3 changed files with 8 additions and 22 deletions
|
|
@ -443,14 +443,6 @@ Server url not configured.</translation>
|
|||
<source>conferenceTitle</source>
|
||||
<translation>CONFERENCE</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>leaveConf</source>
|
||||
<translation>Temporarily leave the conference</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>joinBackConf</source>
|
||||
<translation>Join back the conference</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConferenceControls</name>
|
||||
|
|
|
|||
|
|
@ -443,14 +443,6 @@ Url du serveur non configurée.</translation>
|
|||
<source>conferenceTitle</source>
|
||||
<translation>CONFÉRENCE</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>leaveConf</source>
|
||||
<translation>Quitter temporairement la conférence</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>joinBackConf</source>
|
||||
<translation>Rejoindre la conférence</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConferenceControls</name>
|
||||
|
|
|
|||
|
|
@ -234,18 +234,20 @@ Rectangle {
|
|||
rightMargin: CallStyle.actionArea.rightButtonsGroupMargin
|
||||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
|
||||
iconSize: CallStyle.actionArea.iconSize
|
||||
|
||||
ActionSwitch {
|
||||
icon: 'pause'
|
||||
enabled: conference.conferenceModel.isInConf
|
||||
icon: 'pause'
|
||||
|
||||
onClicked: {
|
||||
conference.conferenceModel.isInConf ? conference.conferenceModel.leave() : conference.conferenceModel.join()
|
||||
}
|
||||
|
||||
TooltipArea {
|
||||
text: conference.conferenceModel.isInConf ? qsTr('leaveConf') : qsTr('joinBackConf')
|
||||
var model = conference.conferenceModel
|
||||
if (model.isInConf) {
|
||||
model.leave()
|
||||
} else {
|
||||
model.join()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue