mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 04:38:04 -06:00
Small fixes.
This commit is contained in:
@@ -182,7 +182,7 @@ void PieceAvailabilityBar::updateImage()
|
||||
|
||||
void PieceAvailabilityBar::setAvailability(const std::vector<int>& avail)
|
||||
{
|
||||
pieces.assign(avail.begin(), avail.end());
|
||||
pieces = std::vector<int>(avail);
|
||||
|
||||
updateImage();
|
||||
update();
|
||||
|
||||
Reference in New Issue
Block a user