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:
Chocobo1
2019-05-09 12:45:52 +08:00
parent 4b263f057d
commit 3955eef50d
18 changed files with 124 additions and 127 deletions

View File

@@ -413,7 +413,7 @@ void TorrentInfo::stripRootFolder()
{
if (!hasRootFolder()) return;
libtorrent::file_storage files = m_nativeInfo->files();
lt::file_storage files = m_nativeInfo->files();
// Solution for case of renamed root folder
const std::string testName = filePath(0).split('/').value(0).toStdString();