mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-09-03 09:32:00 +00:00
Merge pull request #14042 from Chocobo1/array
Fix wrong JSON type returned
This commit is contained in:
commit
ae48e49cba
@ -272,7 +272,7 @@ void TorrentsController::infoAction()
|
|||||||
|
|
||||||
if (torrentList.isEmpty())
|
if (torrentList.isEmpty())
|
||||||
{
|
{
|
||||||
setResult(QJsonObject {});
|
setResult(QJsonArray {});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user