Browse Source

- ~/qBT_dir is no longer created when it is not used

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
32a8dec0e7
  1. 5
      src/misc.h

5
src/misc.h

@ -215,11 +215,6 @@ public: @@ -215,11 +215,6 @@ public:
// return qBittorrent config path
static QString qBittorrentPath() {
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;
}

Loading…
Cancel
Save