mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 00:22:31 -06:00
Update max write cache size to 2048MB and set it to automatic by default (closes #148)
This commit is contained in:
@@ -912,11 +912,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