1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

[Web UI] Fix an error in Content tab when the torrent doesn't have metadata

This commit is contained in:
ngosang 2015-07-09 18:11:04 +02:00
parent 647140c7c7
commit 9ea56ea5d4

View File

@ -481,7 +481,7 @@ QByteArray btjson::getFilesForTorrent(const QString& hash)
}
if (!torrent->hasMetadata())
return QByteArray();
return json::toJson(fileList);
const QVector<int> priorities = torrent->filePriorities();
QVector<qreal> fp = torrent->filesProgress();