Change torrent client

Qbittorrent is not opening magnet links - if I run xdg-mime query default x-scheme-handler/magnet - it shows transmission-gtk.desktop I don’t have transmission installed?

how can I set it to qbittorrent? I have tried

xdg-mime default qBittorent.desktop x-scheme-handler/magnet

but when I run xdg-mime query default x-scheme-handler/magnet - it still shows transmission-gtk.desktop?

A fresh install solved my problem breifly now its back to transmission…

Edititng /usr/share/applications/defaults.list

[Default Applications]
x-scheme-handler/spotify=spotify.desktop
x-scheme-handler/magnet=qbittorrent.desktop

this seems to have fixed the problem - I didn’t have transmission installed so not sure why it kept reverting to it for magnet links.