Commit 1bed3f95 authored by Edric's avatar Edric

show outgoing call photo

Change-Id: If2f4b3adcb62d03ed9e1285a7544ab404f6e1ec7
Tuleap: #714
parent 70ae878f
......@@ -634,6 +634,10 @@ CallWidget::placeCall()
Call* c = CallModel::instance().dialingCall(PhoneDirectoryModel::instance().getNumber(ui->ringContactLineEdit->text()));
c->performAction(Call::Action::ACCEPT);
ui->ringContactLineEdit->clear();
ui->callingPhoto->setPixmap(
QPixmap::fromImage(
GlobalInstances::pixmapManipulator()
.callPhoto(c, QSize(130,130)).value<QImage>()));
}
void
......
......@@ -1399,7 +1399,7 @@
<widget class="QWidget" name="outboundCall" native="true">
<layout class="QVBoxLayout" name="spinnerLayout">
<item>
<widget class="QLabel" name="label_3">
<widget class="QLabel" name="callingPhoto">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
......
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