mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
Add transfer list refresh interval settings to WebUI
Specially useful for qbt-nox users PR #16713. Co-authored-by: An0n <79678786+an0n666@users.noreply.github.com>
This commit is contained in:
parent
0e3ce019e4
commit
3f7376f26b
3 changed files with 18 additions and 2 deletions
|
@ -638,12 +638,13 @@ void AdvancedSettings::loadAdvancedSettings()
|
|||
// Recheck completed torrents
|
||||
m_checkBoxRecheckCompleted.setChecked(pref->recheckTorrentsOnCompletion());
|
||||
addRow(RECHECK_COMPLETED, tr("Recheck torrents on completion"), &m_checkBoxRecheckCompleted);
|
||||
// Transfer list refresh interval
|
||||
// Refresh interval
|
||||
m_spinBoxListRefresh.setMinimum(30);
|
||||
m_spinBoxListRefresh.setMaximum(99999);
|
||||
m_spinBoxListRefresh.setValue(session->refreshInterval());
|
||||
m_spinBoxListRefresh.setSuffix(tr(" ms", " milliseconds"));
|
||||
addRow(LIST_REFRESH, tr("Transfer list refresh interval"), &m_spinBoxListRefresh);
|
||||
m_spinBoxListRefresh.setToolTip(tr("It controls the internal state update interval which in turn will affect UI updates"));
|
||||
addRow(LIST_REFRESH, tr("Refresh interval"), &m_spinBoxListRefresh);
|
||||
// Resolve Peer countries
|
||||
m_checkBoxResolveCountries.setChecked(pref->resolvePeerCountries());
|
||||
addRow(RESOLVE_COUNTRIES, tr("Resolve peer countries"), &m_checkBoxResolveCountries);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue