Adds TorrentClient to this file as well

This commit is contained in:
Dyras 2021-03-27 11:56:57 +01:00 committed by GitHub
parent e7cdd10e2c
commit 1b342db590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -264,6 +264,7 @@ void CSbieTemplates::CollectTemplates()
Templates.append(GetTemplateNames("Download"));
Templates.append(GetTemplateNames("Misc"));
Templates.append(GetTemplateNames("WebBrowser"));
Templates.append(GetTemplateNames("TorrentClient"));
foreach(const QString& Template, Templates)
m_Templates.insert(Template, 0);
@ -473,4 +474,4 @@ QString CSbieTemplates::ExpandPath(QString path)
foreach(const QString& key, m_Expands.keys())
path.replace("%" + key + "%", m_Expands.value(key));
return path;
}
}