mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Update max write cache size to 2048MB and set it to automatic by default (closes #148)
This commit is contained in:
@@ -927,11 +927,11 @@ public:
|
||||
}
|
||||
|
||||
uint diskCacheSize() const {
|
||||
return value(QString::fromUtf8("Preferences/Downloads/DiskCache"), 16).toUInt();
|
||||
return value(QString::fromUtf8("Preferences/Downloads/DiskWriteCacheSize"), 0).toUInt();
|
||||
}
|
||||
|
||||
void setDiskCacheSize(uint size) {
|
||||
setValue(QString::fromUtf8("Preferences/Downloads/DiskCache"), size);
|
||||
setValue(QString::fromUtf8("Preferences/Downloads/DiskWriteCacheSize"), size);
|
||||
}
|
||||
|
||||
uint outgoingPortsMin() const {
|
||||
|
||||
Reference in New Issue
Block a user