Browse Source

Merge pull request #3386 from ngosang/webuibug

[Web UI] Fix an error in Content tab when the torrent doesn't have me…
adaptive-webui-19844
sledgehammer999 9 years ago
parent
commit
365d039209
  1. 2
      src/webui/btjson.cpp

2
src/webui/btjson.cpp

@ -481,7 +481,7 @@ QByteArray btjson::getFilesForTorrent(const QString& hash) @@ -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…
Cancel
Save