mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
- Queueing system fixes
This commit is contained in:
parent
4e05b62bbe
commit
71a81fd1b7
@ -314,6 +314,7 @@ void bittorrent::startTorrentsInPause(bool b) {
|
||||
|
||||
void bittorrent::setQueueingEnabled(bool enable) {
|
||||
if(queueingEnabled != enable) {
|
||||
qDebug("Queueing system is changing state...");
|
||||
queueingEnabled = enable;
|
||||
if(enable) {
|
||||
// Load priorities
|
||||
@ -358,7 +359,7 @@ void bittorrent::setQueueingEnabled(bool enable) {
|
||||
foreach(couple2, tmp_list2) {
|
||||
uploadQueue->append(couple2.second);
|
||||
}
|
||||
(*uploadQueue)<<noprio;
|
||||
(*uploadQueue)<<noprio2;
|
||||
// save priorities
|
||||
int j=0;
|
||||
foreach(QString hash, *uploadQueue) {
|
||||
|
Loading…
Reference in New Issue
Block a user