Commit e6538795 authored by Edric Milaret's avatar Edric Milaret Committed by Guillaume Roguez

windows: add upnp ui

Refs #71910

Change-Id: I0e0497b59c4a50c9e6200090b1d241b820741da0
parent f38362d6
......@@ -219,6 +219,7 @@ AccountDetails::setAccount(Account* currentAccount) {
ui->videoEnabledCheckBox->setChecked(currentAccount_->isVideoEnabled());
ui->autoAnswerCheckBox->setChecked(currentAccount_->isAutoAnswer());
ui->upnpCheckBox->setChecked(currentAccount_->isUpnpEnabled());
}
void
......@@ -360,3 +361,8 @@ AccountDetails::on_tabWidget_currentChanged(int index)
ui->videoCodecView->setCurrentItem(ui->videoCodecView->item(0, 0));
}
}
void AccountDetails::on_upnpCheckBox_clicked(bool checked)
{
currentAccount_->setUpnpEnabled(checked);
}
......@@ -59,6 +59,7 @@ private slots:
void on_proxyEdit_editingFinished();
void on_voicemailEdit_editingFinished();
void on_tabWidget_currentChanged(int index);
void on_upnpCheckBox_clicked(bool checked);
private slots:
void audio_codec_checked(int row, int column);
......
......@@ -140,7 +140,7 @@
<item row="7" column="0">
<widget class="QCheckBox" name="upnpCheckBox">
<property name="enabled">
<bool>false</bool>
<bool>true</bool>
</property>
<property name="text">
<string>UPnP enabled</string>
......
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