Thank you Jahn!

This fix also got my qbittorrent running again.