summaryrefslogtreecommitdiffstats
path: root/src/DownloadManager.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-08 13:19:38 +0100
committerJonathan Bauer2011-03-08 13:19:38 +0100
commitbaaa1198b5a5802ee0ced2e650dfacb52c8077a5 (patch)
tree4dcda0ad36f6feadae2522d7320bcf13f3c56afd /src/DownloadManager.cpp
parentfirst downloadDir fix (diff)
downloadfbgui-baaa1198b5a5802ee0ced2e650dfacb52c8077a5.tar.gz
fbgui-baaa1198b5a5802ee0ced2e650dfacb52c8077a5.tar.xz
fbgui-baaa1198b5a5802ee0ced2e650dfacb52c8077a5.zip
removed debug stuff, room for improvement for setting/parsing dir name...
Diffstat (limited to 'src/DownloadManager.cpp')
-rw-r--r--src/DownloadManager.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/DownloadManager.cpp b/src/DownloadManager.cpp
index 7ab9333..2b1cc8a 100644
--- a/src/DownloadManager.cpp
+++ b/src/DownloadManager.cpp
@@ -130,9 +130,7 @@ DownloadManager::DownloadManager()
if (!downloadDir.exists()){
if (debug) qDebug() << downloadDir.path() << "doesn't exist.";
QDir::current().mkdir(downloadPath);
+ if (downloadDir.exists() && debug) qDebug() << "Created download directory: " << downloadPath;
}
- qDebug() << "1";
- if (downloadDir.exists() && debug) qDebug() << "Created download directory: " << downloadPath;
-
-
+ else if (debug) qDebug() << downloadDir.path() << "exists.";
}