Add availability column to torrent properties window

This commit is contained in:
Eugene Shalygin 2016-03-22 19:41:43 +01:00
parent bc18bf1ab4
commit 5c10a24923
6 changed files with 21 additions and 2 deletions

View file

@ -493,6 +493,7 @@ void PropertiesWidget::loadDynamicData()
qDebug("Updating priorities in files tab");
m_ui->filesList->setUpdatesEnabled(false);
PropListModel->model()->updateFilesProgress(m_torrent->filesProgress());
PropListModel->model()->updateFilesAvailability(m_torrent->availableFileFractions());
// XXX: We don't update file priorities regularly for performance
// reasons. This means that priorities will not be updated if
// set from the Web UI.