mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 09:55:55 +00:00
Fix wrong JSON type returned
Fix up 78638a15be33d2f8e336117e23ca496841221d42. Closes #14041.
This commit is contained in:
parent
02e85913da
commit
423983e023
@ -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