mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 08:27:24 -06:00
Fix magnet link 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