diff options
| -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."; } |
