This fix qbittorrent/qBittorrent#1949
Merge pull request #1951 from masux/master

This fix qbittorrent/qBittorrent#1949