diff options
| author | Jonathan Bauer | 2011-03-16 13:17:41 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2011-03-16 13:17:41 +0100 |
| commit | 4f8efa31d054c3fb9de11c740ae8286581765e0c (patch) | |
| tree | ab4aa38f321f076bf33b9a7aad105a6d9c7e3427 /src/downloadManager.cpp | |
| parent | DM now appends download index to filename in case file already exists (diff) | |
| download | fbgui-4f8efa31d054c3fb9de11c740ae8286581765e0c.tar.gz fbgui-4f8efa31d054c3fb9de11c740ae8286581765e0c.tar.xz fbgui-4f8efa31d054c3fb9de11c740ae8286581765e0c.zip | |
new fancy console for debugging, open/close with F4
Diffstat (limited to 'src/downloadManager.cpp')
| -rw-r--r-- | src/downloadManager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/downloadManager.cpp b/src/downloadManager.cpp index 9b44a3d..039809a 100644 --- a/src/downloadManager.cpp +++ b/src/downloadManager.cpp @@ -72,7 +72,6 @@ void downloadManager::startNextDownload() /* get temporary filename from URL. */ QString tmp = url.path(); tmp.remove(0, tmp.lastIndexOf(QChar('/')) + 1); - if (debug) qDebug() << "Extracted " << tmp << "from " << url.toString(); /* check if filename exists on target file system */ QFileInfo fi(downloadPath + "/" + tmp); @@ -87,8 +86,7 @@ void downloadManager::startNextDownload() if (debug) qDebug() << "Couldn't open file! Skipping..."; return; } - QString qs = QString(fi.absoluteFilePath() + ".\%1").arg(downloaded); - qDebug() << "TEST:" << qs; + /* send the request for the file */ QNetworkRequest request(url); currentDownload = qnam->get(request); |
