mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
Drop libtorrent 0.15.x support.
This commit is contained in:
@@ -41,11 +41,7 @@ TorrentContentModelFile::TorrentContentModelFile(const libtorrent::file_entry& f
|
||||
{
|
||||
Q_ASSERT(parent);
|
||||
|
||||
#if LIBTORRENT_VERSION_MINOR >= 16 || LIBTORRENT_VERSION_MAJOR > 0
|
||||
m_name = fsutils::fileName(misc::toQStringU(f.path.c_str()));
|
||||
#else
|
||||
m_name = misc::toQStringU(f.path.filename());
|
||||
#endif
|
||||
|
||||
// Do not display incomplete extensions
|
||||
if (m_name.endsWith(".!qB"))
|
||||
|
||||
Reference in New Issue
Block a user