mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-21 08:09:35 +08:00
Remove limits of "Disk cache expiry interval" setting
This commit is contained in:
parent
042cd4267f
commit
75c80c3716
@ -353,8 +353,8 @@ void AdvancedSettings::loadAdvancedSettings()
|
||||
addRow(DISK_CACHE, (tr("Disk cache") + ' ' + makeLink("https://www.libtorrent.org/reference-Settings.html#cache_size", "(?)"))
|
||||
, &spinBoxCache);
|
||||
// Disk cache expiry
|
||||
spinBoxCacheTTL.setMinimum(15);
|
||||
spinBoxCacheTTL.setMaximum(600);
|
||||
spinBoxCacheTTL.setMinimum(1);
|
||||
spinBoxCacheTTL.setMaximum(std::numeric_limits<int>::max());
|
||||
spinBoxCacheTTL.setValue(session->diskCacheTTL());
|
||||
spinBoxCacheTTL.setSuffix(tr(" s", " seconds"));
|
||||
addRow(DISK_CACHE_TTL, (tr("Disk cache expiry interval") + ' ' + makeLink("https://www.libtorrent.org/reference-Settings.html#cache_expiry", "(?)"))
|
||||
|
Loading…
Reference in New Issue
Block a user