Browse Source

Remove "requires restart" from network interface settings

Network interface changes are applied on the fly. A restart is not required.
adaptive-webui-19844
an0n666 5 years ago
parent
commit
1d3bb705c8
  1. 4
      src/gui/advancedsettings.cpp
  2. 4
      src/webui/www/private/views/preferences.html

4
src/gui/advancedsettings.cpp

@ -531,10 +531,10 @@ void AdvancedSettings::loadAdvancedSettings() @@ -531,10 +531,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);

4
src/webui/www/private/views/preferences.html

@ -842,7 +842,7 @@ @@ -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 @@ @@ -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;">

Loading…
Cancel
Save