mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
parent
9d90141c29
commit
073ca4267c
17 changed files with 188 additions and 77 deletions
|
@ -522,10 +522,7 @@ void Application::runExternalProgram(const QString &programTemplate, const BitTo
|
|||
str.replace(i, 2, torrent->contentPath().toString());
|
||||
break;
|
||||
case u'G':
|
||||
{
|
||||
const TagSet &tags = torrent->tags();
|
||||
str.replace(i, 2, QStringList(tags.cbegin(), tags.cend()).join(u","_s));
|
||||
}
|
||||
str.replace(i, 2, Utils::String::joinIntoString(torrent->tags(), u","_s));
|
||||
break;
|
||||
case u'I':
|
||||
str.replace(i, 2, (torrent->infoHash().v1().isValid() ? torrent->infoHash().v1().toString() : u"-"_s));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue