Use implicit sharing when getting categories from Session class

This commit is contained in:
Chocobo1 2019-10-01 16:23:32 +08:00
commit e32ef7f5c5
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
4 changed files with 5 additions and 5 deletions

View file

@ -201,7 +201,7 @@ namespace BitTorrent
// returns category itself and all top level categories
static QStringList expandCategory(const QString &category);
const QStringMap &categories() const;
QStringMap categories() const;
QString categorySavePath(const QString &categoryName) const;
bool addCategory(const QString &name, const QString &savePath = "");
bool editCategory(const QString &name, const QString &savePath);