Skip to content
Snippets Groups Projects
Commit 1bed3f95 authored by Edric's avatar Edric
Browse files

show outgoing call photo

Change-Id: If2f4b3adcb62d03ed9e1285a7544ab404f6e1ec7
Tuleap: #714
parent 70ae878f
No related branches found
No related tags found
No related merge requests found
...@@ -634,6 +634,10 @@ CallWidget::placeCall() ...@@ -634,6 +634,10 @@ CallWidget::placeCall()
Call* c = CallModel::instance().dialingCall(PhoneDirectoryModel::instance().getNumber(ui->ringContactLineEdit->text())); Call* c = CallModel::instance().dialingCall(PhoneDirectoryModel::instance().getNumber(ui->ringContactLineEdit->text()));
c->performAction(Call::Action::ACCEPT); c->performAction(Call::Action::ACCEPT);
ui->ringContactLineEdit->clear(); ui->ringContactLineEdit->clear();
ui->callingPhoto->setPixmap(
QPixmap::fromImage(
GlobalInstances::pixmapManipulator()
.callPhoto(c, QSize(130,130)).value<QImage>()));
} }
void void
......
...@@ -1399,7 +1399,7 @@ ...@@ -1399,7 +1399,7 @@
<widget class="QWidget" name="outboundCall" native="true"> <widget class="QWidget" name="outboundCall" native="true">
<layout class="QVBoxLayout" name="spinnerLayout"> <layout class="QVBoxLayout" name="spinnerLayout">
<item> <item>
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="callingPhoto">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum"> <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch> <horstretch>0</horstretch>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment