Commit e64c7469 authored by Andreas Traczyk's avatar Andreas Traczyk

SIP transfer: translate string for contact picker title

Change-Id: I7c3e827072f5f97812f0e80ef68c6047c6c20cbc
parent ae7ead01
......@@ -100,9 +100,9 @@ ContactPicker::mousePressEvent(QMouseEvent *event)
}
void
ContactPicker::setTitle(const std::string& title)
ContactPicker::setTitle(const QString& title)
{
ui->title->setText(QString::fromStdString(title));
ui->title->setText(title);
}
void
......
......@@ -69,7 +69,7 @@ public:
explicit ContactPicker(QWidget *parent = 0);
~ContactPicker();
void setTitle(const std::string& title);
void setTitle(const QString& title);
void setType(const Type& type);
void setCurrentCalleeDisplayName(const QString& CalleeDisplayName);
......
......@@ -47,7 +47,7 @@ VideoOverlay::VideoOverlay(QWidget* parent) :
ui->transferCallButton->setCheckable(true);
contactPicker_->setVisible(false);
contactPicker_->setTitle("Select Peer to Tranfer");
contactPicker_->setTitle(QObject::tr("Select peer to transfer to"));
connect(ui->transferCallButton, &QPushButton::toggled, this, &VideoOverlay::on_transferButton_toggled);
connect(contactPicker_, &ContactPicker::contactWillDoTransfer, this, &VideoOverlay::on_transferCall_requested);
......
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