mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Add setting to ignore slow torrents in queueing system
Closes https://bugs.launchpad.net/qbittorrent/+bug/799703
This commit is contained in:
@@ -709,6 +709,14 @@ public:
|
||||
setValue(QString::fromUtf8("Preferences/Queueing/MaxActiveTorrents"), val);
|
||||
}
|
||||
|
||||
void setIgnoreSlowTorrentsForQueueing(bool ignore) {
|
||||
setValue("Preferences/Queueing/IgnoreSlowTorrents", ignore);
|
||||
}
|
||||
|
||||
bool ignoreSlowTorrentsForQueueing() const {
|
||||
return value("Preferences/Queueing/IgnoreSlowTorrents", false).toBool();
|
||||
}
|
||||
|
||||
bool isWebUiEnabled() const {
|
||||
return value("Preferences/WebUI/Enabled", false).toBool();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user