mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-26 09:48:19 +03:00
parent
3fa59b1b12
commit
d66bd30fae
1 changed files with 3 additions and 3 deletions
|
@ -362,7 +362,7 @@ void AdvancedSettings::loadAdvancedSettings()
|
||||||
outgoing_ports_max.setValue(session->outgoingPortsMax());
|
outgoing_ports_max.setValue(session->outgoingPortsMax());
|
||||||
addRow(OUTGOING_PORT_MAX, tr("Outgoing ports (Max) [0: Disabled]"), &outgoing_ports_max);
|
addRow(OUTGOING_PORT_MAX, tr("Outgoing ports (Max) [0: Disabled]"), &outgoing_ports_max);
|
||||||
// uTP-TCP mixed mode
|
// uTP-TCP mixed mode
|
||||||
comboUtpMixedMode.addItems({"Prefer TCP", "Peer proportional (throttles TCP)"});
|
comboUtpMixedMode.addItems({tr("Prefer TCP"), tr("Peer proportional (throttles TCP)")});
|
||||||
comboUtpMixedMode.setCurrentIndex(static_cast<int>(session->utpMixedMode()));
|
comboUtpMixedMode.setCurrentIndex(static_cast<int>(session->utpMixedMode()));
|
||||||
addRow(UTP_MIX_MODE, tr("%1-TCP mixed mode algorithm", "uTP-TCP mixed mode algorithm").arg(C_UTP), &comboUtpMixedMode);
|
addRow(UTP_MIX_MODE, tr("%1-TCP mixed mode algorithm", "uTP-TCP mixed mode algorithm").arg(C_UTP), &comboUtpMixedMode);
|
||||||
// multiple connections per IP
|
// multiple connections per IP
|
||||||
|
@ -449,11 +449,11 @@ void AdvancedSettings::loadAdvancedSettings()
|
||||||
spin_tracker_port.setValue(pref->getTrackerPort());
|
spin_tracker_port.setValue(pref->getTrackerPort());
|
||||||
addRow(TRACKER_PORT, tr("Embedded tracker port"), &spin_tracker_port);
|
addRow(TRACKER_PORT, tr("Embedded tracker port"), &spin_tracker_port);
|
||||||
// Choking algorithm
|
// Choking algorithm
|
||||||
comboChokingAlgorithm.addItems({"Fixed slots", "Upload rate based"});
|
comboChokingAlgorithm.addItems({tr("Fixed slots"), tr("Upload rate based")});
|
||||||
comboChokingAlgorithm.setCurrentIndex(static_cast<int>(session->chokingAlgorithm()));
|
comboChokingAlgorithm.setCurrentIndex(static_cast<int>(session->chokingAlgorithm()));
|
||||||
addRow(CHOKING_ALGORITHM, tr("Upload slots behavior"), &comboChokingAlgorithm);
|
addRow(CHOKING_ALGORITHM, tr("Upload slots behavior"), &comboChokingAlgorithm);
|
||||||
// Seed choking algorithm
|
// Seed choking algorithm
|
||||||
comboSeedChokingAlgorithm.addItems({"Round-robin", "Fastest upload", "Anti-leech"});
|
comboSeedChokingAlgorithm.addItems({tr("Round-robin"), tr("Fastest upload"), tr("Anti-leech")});
|
||||||
comboSeedChokingAlgorithm.setCurrentIndex(static_cast<int>(session->seedChokingAlgorithm()));
|
comboSeedChokingAlgorithm.setCurrentIndex(static_cast<int>(session->seedChokingAlgorithm()));
|
||||||
addRow(SEED_CHOKING_ALGORITHM, tr("Upload choking algorithm"), &comboSeedChokingAlgorithm);
|
addRow(SEED_CHOKING_ALGORITHM, tr("Upload choking algorithm"), &comboSeedChokingAlgorithm);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue