mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
parent
709a053c7c
commit
a3be239a60
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ nonstd::expected<void, QString> TorrentInfo::saveToFile(const QString &path) con
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
const auto torrentCreator = lt::create_torrent(*nativeInfo());
|
const auto torrentCreator = lt::create_torrent(*m_nativeInfo);
|
||||||
const lt::entry torrentEntry = torrentCreator.generate();
|
const lt::entry torrentEntry = torrentCreator.generate();
|
||||||
const nonstd::expected<void, QString> result = Utils::IO::saveToFile(path, torrentEntry);
|
const nonstd::expected<void, QString> result = Utils::IO::saveToFile(path, torrentEntry);
|
||||||
if (!result)
|
if (!result)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue