mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 08:43:08 -07:00
Remove limits of "Disk cache expiry interval" setting
This commit is contained in:
parent
c599976b6f
commit
ae21d0f1e2
1 changed files with 2 additions and 2 deletions
|
@ -350,8 +350,8 @@ void AdvancedSettings::loadAdvancedSettings()
|
||||||
updateCacheSpinSuffix(spinBoxCache.value());
|
updateCacheSpinSuffix(spinBoxCache.value());
|
||||||
addRow(DISK_CACHE, tr("Disk cache"), &spinBoxCache);
|
addRow(DISK_CACHE, tr("Disk cache"), &spinBoxCache);
|
||||||
// Disk cache expiry
|
// Disk cache expiry
|
||||||
spinBoxCacheTTL.setMinimum(15);
|
spinBoxCacheTTL.setMinimum(1);
|
||||||
spinBoxCacheTTL.setMaximum(600);
|
spinBoxCacheTTL.setMaximum(std::numeric_limits<int>::max());
|
||||||
spinBoxCacheTTL.setValue(session->diskCacheTTL());
|
spinBoxCacheTTL.setValue(session->diskCacheTTL());
|
||||||
spinBoxCacheTTL.setSuffix(tr(" s", " seconds"));
|
spinBoxCacheTTL.setSuffix(tr(" s", " seconds"));
|
||||||
addRow(DISK_CACHE_TTL, tr("Disk cache expiry interval"), &spinBoxCacheTTL);
|
addRow(DISK_CACHE_TTL, tr("Disk cache expiry interval"), &spinBoxCacheTTL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue