1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-02 18:04:32 +00:00

Fix wrong JSON type returned

Fix up 78638a15be33d2f8e336117e23ca496841221d42.
Closes #14041.
This commit is contained in:
Chocobo1 2020-12-24 23:15:36 +08:00
parent 02e85913da
commit 423983e023
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -272,7 +272,7 @@ void TorrentsController::infoAction()
if (torrentList.isEmpty()) if (torrentList.isEmpty())
{ {
setResult(QJsonObject {}); setResult(QJsonArray {});
return; return;
} }