mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
Allow to pass torrent comment to external program
PR #22771. Closes #13186.
This commit is contained in:
parent
a3d1ff0eb2
commit
f47754838b
3 changed files with 5 additions and 0 deletions
|
@ -575,6 +575,9 @@ void Application::runExternalProgram(const QString &programTemplate, const BitTo
|
|||
case u'L':
|
||||
str.replace(i, 2, torrent->category());
|
||||
break;
|
||||
case u'M':
|
||||
str.replace(i, 2, torrent->comment());
|
||||
break;
|
||||
case u'N':
|
||||
str.replace(i, 2, torrent->name());
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue