mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 20:44:15 +00:00
- Fixed infobar text for PauseAll, StartAll functions
This commit is contained in:
parent
398e121d2c
commit
14251dd7b0
@ -1227,8 +1227,8 @@ void GUI::pauseAll(){
|
|||||||
DLListModel->setData(DLListModel->index(i, NAME), QVariant(QIcon(":/Icons/skin/paused.png")), Qt::DecorationRole);
|
DLListModel->setData(DLListModel->index(i, NAME), QVariant(QIcon(":/Icons/skin/paused.png")), Qt::DecorationRole);
|
||||||
DLListModel->setData(DLListModel->index(i, SEEDSLEECH), QVariant("0/0"));
|
DLListModel->setData(DLListModel->index(i, SEEDSLEECH), QVariant("0/0"));
|
||||||
setRowColor(i, "red");
|
setRowColor(i, "red");
|
||||||
setInfoBar(tr("All downloads were paused."));
|
|
||||||
}
|
}
|
||||||
|
setInfoBar(tr("All downloads were paused."));
|
||||||
}
|
}
|
||||||
|
|
||||||
// pause selected items in the list
|
// pause selected items in the list
|
||||||
@ -1271,8 +1271,8 @@ void GUI::resumeAll(){
|
|||||||
DLListModel->setData(DLListModel->index(i, STATUS), QVariant(tr("Connecting...", "i.e: Connecting to the tracker...")));
|
DLListModel->setData(DLListModel->index(i, STATUS), QVariant(tr("Connecting...", "i.e: Connecting to the tracker...")));
|
||||||
DLListModel->setData(DLListModel->index(i, NAME), QVariant(QIcon(":/Icons/skin/connecting.png")), Qt::DecorationRole);
|
DLListModel->setData(DLListModel->index(i, NAME), QVariant(QIcon(":/Icons/skin/connecting.png")), Qt::DecorationRole);
|
||||||
setRowColor(i, "grey");
|
setRowColor(i, "grey");
|
||||||
setInfoBar(tr("All downloads were resumed."));
|
|
||||||
}
|
}
|
||||||
|
setInfoBar(tr("All downloads were resumed."));
|
||||||
}
|
}
|
||||||
|
|
||||||
// start selected items in the list
|
// start selected items in the list
|
||||||
|
Loading…
x
Reference in New Issue
Block a user