mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-04 19:04:30 +00:00
Merge pull request #3386 from ngosang/webuibug
[Web UI] Fix an error in Content tab when the torrent doesn't have me…
This commit is contained in:
commit
365d039209
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user