From 744b89c8786842ceaea0342846026d3346df1246 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 9 Oct 2020 00:37:09 +0800 Subject: [PATCH 1/2] Fix image not loading under proxy Closes #13483. --- src/webui/www/private/scripts/dynamicTable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/www/private/scripts/dynamicTable.js b/src/webui/www/private/scripts/dynamicTable.js index 2d55bc7c5..8b5f1015e 100644 --- a/src/webui/www/private/scripts/dynamicTable.js +++ b/src/webui/www/private/scripts/dynamicTable.js @@ -1765,7 +1765,7 @@ window.qBittorrent.DynamicTable = (function() { } else { const treeImg = new Element('img', { - src: '../images/L.gif', + src: 'images/L.gif', styles: { 'margin-bottom': -2 } From 611f2de11f0d22d67af1650a3aadf6bdf37ab1af Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 9 Oct 2020 00:39:11 +0800 Subject: [PATCH 2/2] Fix wrong capitalization --- src/gui/advancedsettings.cpp | 4 ++-- src/webui/www/private/views/preferences.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/advancedsettings.cpp b/src/gui/advancedsettings.cpp index 4451ad920..f9cb408b7 100644 --- a/src/gui/advancedsettings.cpp +++ b/src/gui/advancedsettings.cpp @@ -578,10 +578,10 @@ void AdvancedSettings::loadAdvancedSettings() } connect(&m_comboBoxInterface, qOverload(&QComboBox::currentIndexChanged) , this, &AdvancedSettings::updateInterfaceAddressCombo); - addRow(NETWORK_IFACE, tr("Network Interface"), &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"), &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); diff --git a/src/webui/www/private/views/preferences.html b/src/webui/www/private/views/preferences.html index 2165a4eee..035b46d8b 100644 --- a/src/webui/www/private/views/preferences.html +++ b/src/webui/www/private/views/preferences.html @@ -890,7 +890,7 @@
- +
- +