mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
committed by
GitHub
parent
65771d66fc
commit
7a41192597
@@ -85,8 +85,8 @@ namespace
|
||||
{
|
||||
ListType entryList;
|
||||
entryList.reserve(input.size());
|
||||
for (const QString &setValue : input)
|
||||
entryList.emplace_back(setValue.toStdString());
|
||||
for (const Tag &setValue : input)
|
||||
entryList.emplace_back(setValue.toString().toStdString());
|
||||
return entryList;
|
||||
}
|
||||
}
|
||||
@@ -263,7 +263,7 @@ BitTorrent::LoadResumeDataResult BitTorrent::BencodeResumeDataStorage::loadTorre
|
||||
{
|
||||
for (int i = 0; i < tagsNode.list_size(); ++i)
|
||||
{
|
||||
const QString tag = fromLTString(tagsNode.list_string_value_at(i));
|
||||
const Tag tag {fromLTString(tagsNode.list_string_value_at(i))};
|
||||
torrentParams.tags.insert(tag);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user