mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
committed by
GitHub
parent
65771d66fc
commit
7a41192597
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user