qbt saves the metadata to .torrent files a magnet has received them. and of course is uses the info-hash as the name of the torrent.