diff options
| author | Jonathan Bauer | 2011-03-08 13:19:38 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2011-03-08 13:19:38 +0100 |
| commit | baaa1198b5a5802ee0ced2e650dfacb52c8077a5 (patch) | |
| tree | 4dcda0ad36f6feadae2522d7320bcf13f3c56afd | |
| parent | first downloadDir fix (diff) | |
| download | fbgui-baaa1198b5a5802ee0ced2e650dfacb52c8077a5.tar.gz fbgui-baaa1198b5a5802ee0ced2e650dfacb52c8077a5.tar.xz fbgui-baaa1198b5a5802ee0ced2e650dfacb52c8077a5.zip | |
removed debug stuff, room for improvement for setting/parsing dir name...
| -rw-r--r-- | src/DownloadManager.cpp | 6 |
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."; } |
