mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 20:58:07 -06:00
Small fixes.
This commit is contained in:
@@ -189,8 +189,8 @@ void DownloadedPiecesBar::updateImage()
|
||||
|
||||
void DownloadedPiecesBar::setProgress(const libtorrent::bitfield &bf, const libtorrent::bitfield &bf_dl)
|
||||
{
|
||||
pieces.assign(bf.bytes(), bf.size());
|
||||
pieces_dl.assign(bf_dl.bytes(), bf_dl.size());
|
||||
pieces = libtorrent::bitfield(bf);
|
||||
pieces_dl = libtorrent::bitfield(bf_dl);
|
||||
|
||||
updateImage();
|
||||
update();
|
||||
|
||||
Reference in New Issue
Block a user