Skip to content

Conversation

@adem4ik
Copy link
Contributor

@adem4ik adem4ik commented Jan 5, 2026

qBittorent -> qBittorrent

Copy link
Member

@glassez glassez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@xavier2k6 xavier2k6 added this to the 5.2 milestone Jan 5, 2026
@xavier2k6 xavier2k6 added the Code cleanup Clean up the code while preserving the same outcome label Jan 5, 2026
@xavier2k6
Copy link
Member

I did a search for a part typo of torent & found below:

3x torent instances

const lt::bdecode_node torentInfoRoot = lt::bdecode(metadata, ec
, nullptr, pref->getBdecodeDepthLimit(), pref->getBdecodeTokenLimit());
if (ec)
return nonstd::make_unexpected(tr("Cannot parse torrent info: %1").arg(QString::fromStdString(ec.message())));
if (torentInfoRoot.type() != lt::bdecode_node::dict_t)
return nonstd::make_unexpected(tr("Cannot parse torrent info: invalid format"));
const auto torrentInfo = std::make_shared<lt::torrent_info>(torentInfoRoot, ec);

2x torent instances

const lt::bdecode_node torentInfoRoot = lt::bdecode(bencodedMetadata, ec
, nullptr, bdecodeDepthLimit, bdecodeTokenLimit);
if (ec)
return nonstd::make_unexpected(tr("Cannot parse torrent info: %1").arg(QString::fromStdString(ec.message())));
p.ti = std::make_shared<lt::torrent_info>(torentInfoRoot, ec);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code cleanup Clean up the code while preserving the same outcome

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants