mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 20:58:07 -06:00
Change to lt namespace
Quoting from libtorrent doc: > In the future, libtorrent will be the alias and lt the namespace name.
This commit is contained in:
@@ -76,7 +76,7 @@ MagnetUri::MagnetUri(const QString &source)
|
||||
m_name = QString::fromStdString(m_addTorrentParams.name);
|
||||
|
||||
for (const std::string &tracker : m_addTorrentParams.trackers)
|
||||
m_trackers.append(libtorrent::announce_entry {tracker});
|
||||
m_trackers.append(lt::announce_entry {tracker});
|
||||
|
||||
for (const std::string &urlSeed : m_addTorrentParams.url_seeds)
|
||||
m_urlSeeds.append(QUrl(QString::fromStdString(urlSeed)));
|
||||
@@ -112,7 +112,7 @@ QString MagnetUri::url() const
|
||||
return m_url;
|
||||
}
|
||||
|
||||
libtorrent::add_torrent_params MagnetUri::addTorrentParams() const
|
||||
lt::add_torrent_params MagnetUri::addTorrentParams() const
|
||||
{
|
||||
return m_addTorrentParams;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user