This fix qbittorrent/qBittorrent#1949.