mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
parent
65771d66fc
commit
7a41192597
38 changed files with 421 additions and 251 deletions
|
@ -522,7 +522,10 @@ void Application::runExternalProgram(const QString &programTemplate, const BitTo
|
|||
str.replace(i, 2, torrent->contentPath().toString());
|
||||
break;
|
||||
case u'G':
|
||||
str.replace(i, 2, torrent->tags().join(u","_s));
|
||||
{
|
||||
const TagSet &tags = torrent->tags();
|
||||
str.replace(i, 2, QStringList(tags.cbegin(), tags.cend()).join(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