mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
- ~/qBT_dir is no longer created when it is not used
This commit is contained in:
parent
2dd5bccd49
commit
32a8dec0e7
1 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue