Commit 2c03dc75 authored by Olivier SOLDANO's avatar Olivier SOLDANO Committed by Anthony Léonard

add bestId on incoming call screen

added the bestId bellow the alias to strengthen
the identification of caller by the callee.

Change-Id: Ieae16cdcc39935e1a1a2da59ea6526b5dbd6a9dc
Reviewed-by: default avatarAnthony Léonard <anthony.leonard@savoirfairelinux.com>
parent c4e6535e
......@@ -375,12 +375,14 @@ CallWidget::callChangedSlot()
{
if (not actualCall_)
return;
ui->callerIdLabel->setText(QString("%1")
.arg(actualCall_->formattedName()));
ui->callerPhoto->setPixmap(
QPixmap::fromImage(
GlobalInstances::pixmapManipulator()
.callPhoto(actualCall_, QSize(130,130)).value<QImage>()));
ui->callerBestIdLabel->setText(actualCall_->peerContactMethod()->bestId());
if(actualCall_->state() == Call::State::OVER || actualCall_->state() == Call::State::FAILURE){
ui->outboundCallLabel->setText(actualCall_->toHumanStateName(Call::State::INITIALIZATION));
......
......@@ -1381,6 +1381,16 @@
</property>
</widget>
</item>
<item alignment="Qt::AlignHCenter">
<widget class="QLabel" name="callerBestIdLabel">
<property name="styleSheet">
<string notr="true">color: rgb(174, 174, 174); font-style: italic;</string>
</property>
<property name="text">
<string>BestId</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="wantToTalkLabel">
<property name="styleSheet">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment