Don't create subfolder inside temp folder

This commit is contained in:
Vladimir Golovnev (Glassez)
2017-07-28 12:13:57 +03:00
parent d22b626a02
commit 5f47d3b021
5 changed files with 37 additions and 14 deletions

View File

@@ -210,7 +210,7 @@ namespace BitTorrent
void setTempPath(QString path);
bool isTempPathEnabled() const;
void setTempPathEnabled(bool enabled);
QString torrentTempPath(const InfoHash &hash) const;
QString torrentTempPath(const TorrentInfo &torrentInfo) const;
static bool isValidCategoryName(const QString &name);
// returns category itself and all top level categories