Merge pull request #12684 from an0n666/requires-restart

Remove "requires restart" from network interface settings
This commit is contained in:
Vladimir Golovnev 2020-05-01 07:38:36 +03:00 committed by GitHub
commit 7ca0592694
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -545,10 +545,10 @@ void AdvancedSettings::loadAdvancedSettings()
m_comboBoxInterface.addItem(session->networkInterfaceName(), currentInterface);
m_comboBoxInterface.setCurrentIndex(i);
}
addRow(NETWORK_IFACE, tr("Network Interface (requires restart)"), &m_comboBoxInterface);
addRow(NETWORK_IFACE, tr("Network Interface"), &m_comboBoxInterface);
// Network interface address
updateInterfaceAddressCombo();
addRow(NETWORK_IFACE_ADDRESS, tr("Optional IP Address to bind to (requires restart)"), &m_comboBoxInterfaceAddress);
addRow(NETWORK_IFACE_ADDRESS, tr("Optional IP Address to bind to"), &m_comboBoxInterfaceAddress);
// Announce IP
m_lineEditAnnounceIP.setText(session->announceIP());
addRow(ANNOUNCE_IP, tr("IP Address to report to trackers (requires restart)"), &m_lineEditAnnounceIP);

View file

@ -842,7 +842,7 @@
<table>
<tr>
<td>
<label for="networkInterface">QBT_TR(Network Interface (requires restart):)QBT_TR[CONTEXT=OptionsDialog]</label>
<label for="networkInterface">QBT_TR(Network Interface:)QBT_TR[CONTEXT=OptionsDialog]</label>
</td>
<td>
<select id="networkInterface" style="width: 15em;">
@ -851,7 +851,7 @@
</tr>
<tr>
<td>
<label for="optionalIPAddressToBind">QBT_TR(Optional IP Address to bind to (requires restart):)QBT_TR[CONTEXT=OptionsDialog]</label>
<label for="optionalIPAddressToBind">QBT_TR(Optional IP Address to bind to:)QBT_TR[CONTEXT=OptionsDialog]</label>
</td>
<td>
<select id="optionalIPAddressToBind" style="width: 15em;">