Also please refactor how you use the "const QString hash" in the QBtSession::addTorrent() method. Since it has wrong data it makes other functions fail, eg qbt fails to load correctly the fastresume data.
Also please refactor how you use the "const QString hash" in the QBtSession: :addTorrent( ) method. Since it has wrong data it makes other functions fail, eg qbt fails to load correctly the fastresume data.