Commit c4a086ae authored by Ming Rui Zhang's avatar Ming Rui Zhang Committed by Yang Wang

videooverlay: set callee display name first and add sip call transfer title

Change-Id: Id29356edf33d47e3fd8acb64c2f3673e3153d597
parent 291afa0b
...@@ -424,9 +424,9 @@ void ...@@ -424,9 +424,9 @@ void
VideoOverlay::contactPickerPopup(SmartListModel::Type type, OverlayButton* locateButton) VideoOverlay::contactPickerPopup(SmartListModel::Type type, OverlayButton* locateButton)
{ {
ContactPicker contactPicker(this); ContactPicker contactPicker(this);
contactPicker.setType(type);
contactPicker.setTitle(QObject::tr("Add to conference"));
contactPicker.setCurrentCalleeDisplayName(currentBestCalleeDisplayName_); contactPicker.setCurrentCalleeDisplayName(currentBestCalleeDisplayName_);
contactPicker.setType(type);
contactPicker.setTitle(type == SmartListModel::Type::CONFERENCE ? QObject::tr("Add to conference") : QObject::tr("Transfer this call"));
connect(&contactPicker, &ContactPicker::contactWillJoinConference, connect(&contactPicker, &ContactPicker::contactWillJoinConference,
this, &VideoOverlay::slotContactWillJoinConference); this, &VideoOverlay::slotContactWillJoinConference);
......
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