mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
Add more vector length checks
This commit is contained in:
parent
7bd4a1b849
commit
a940917144
4 changed files with 11 additions and 8 deletions
|
@ -652,7 +652,7 @@ void PropertiesWidget::deleteSelectedUrlSeeds() {
|
|||
|
||||
bool PropertiesWidget::applyPriorities() {
|
||||
qDebug("Saving files priorities");
|
||||
const std::vector<int> priorities = PropListModel->model()->getFilesPriorities(h.get_torrent_info().num_files());
|
||||
const std::vector<int> priorities = PropListModel->model()->getFilesPriorities();
|
||||
// Save first/last piece first option state
|
||||
bool first_last_piece_first = h.first_last_piece_first();
|
||||
// Prioritize the files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue