mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-10 09:24:59 -06:00
Improve torrent name handling
This commit is contained in:
committed by
sledgehammer999
parent
78859415d6
commit
b8f1142abe
@@ -170,7 +170,7 @@ InfoHash TorrentInfo::hash() const
|
||||
QString TorrentInfo::name() const
|
||||
{
|
||||
if (!isValid()) return {};
|
||||
return QString::fromStdString(m_nativeInfo->name());
|
||||
return QString::fromStdString(m_nativeInfo->orig_files().name());
|
||||
}
|
||||
|
||||
QDateTime TorrentInfo::creationDate() const
|
||||
|
||||
Reference in New Issue
Block a user