mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 08:27:24 -06:00
Setting for creating subfolder on multifile torrents. Closes #588.
This commit is contained in:
committed by
Vladimir Golovnev (Glassez)
parent
07af8c9648
commit
4b2d8a7941
@@ -152,6 +152,7 @@ TorrentState::operator int() const
|
||||
return m_value;
|
||||
}
|
||||
|
||||
, createSubfolder(in.createSubfolder)
|
||||
// TorrentHandle
|
||||
|
||||
const qreal TorrentHandle::USE_GLOBAL_RATIO = -2.;
|
||||
@@ -230,6 +231,9 @@ QString TorrentHandle::name() const
|
||||
if (name.isEmpty())
|
||||
name = QString::fromStdString(m_nativeStatus.name);
|
||||
|
||||
if (name.isEmpty())
|
||||
name = QString::fromStdString(m_torrentInfo.origFiles().name());
|
||||
|
||||
if (name.isEmpty())
|
||||
name = m_hash;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user