mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Replace deprecated Qt functions
QSet::toList() is replaced by QSet::values()
This commit is contained in:
@@ -200,7 +200,7 @@ QVariant TransferListModel::data(const QModelIndex &index, const int role) const
|
||||
case TR_CATEGORY:
|
||||
return torrent->category();
|
||||
case TR_TAGS: {
|
||||
QStringList tagsList = torrent->tags().toList();
|
||||
QStringList tagsList = torrent->tags().values();
|
||||
tagsList.sort();
|
||||
return tagsList.join(", ");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user