From 32a8dec0e72064a29e6cf2f3688fb67713d3a251 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 12 Dec 2009 22:34:16 +0000 Subject: [PATCH] - ~/qBT_dir is no longer created when it is not used --- src/misc.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/misc.h b/src/misc.h index 6e28fa54e..37a3f33f6 100644 --- a/src/misc.h +++ b/src/misc.h @@ -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; }