mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-05 15:12:32 -06:00
BUGFIX: Fix magnet torrent name update problem
This commit is contained in:
@@ -142,7 +142,7 @@ QVariant TorrentModelItem::data(int column, int role) const
|
||||
if(role != Qt::DisplayRole && role != Qt::UserRole) return QVariant();
|
||||
switch(column) {
|
||||
case TR_NAME:
|
||||
return m_name;
|
||||
return m_name.isEmpty()? m_torrent.name() : m_name;
|
||||
case TR_PRIORITY:
|
||||
return m_torrent.queue_position();
|
||||
case TR_SIZE:
|
||||
|
||||
Reference in New Issue
Block a user