mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
- ~/qBT_dir is no longer created when it is not used
This commit is contained in:
@@ -215,11 +215,6 @@ public:
|
|||||||
// return qBittorrent config path
|
// return qBittorrent config path
|
||||||
static QString qBittorrentPath() {
|
static QString qBittorrentPath() {
|
||||||
QString qBtPath = QDir::homePath()+QDir::separator()+QString::fromUtf8(".qbittorrent") + QDir::separator();
|
QString qBtPath = QDir::homePath()+QDir::separator()+QString::fromUtf8(".qbittorrent") + QDir::separator();
|
||||||
// Create dir if it does not exist
|
|
||||||
if(!QFile::exists(qBtPath)){
|
|
||||||
QDir dir(qBtPath);
|
|
||||||
dir.mkpath(qBtPath);
|
|
||||||
}
|
|
||||||
return qBtPath;
|
return qBtPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user