From 7759ad54643246bdab08accc247ef3e91c3e3238 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 10 Mar 2011 23:40:48 +0100 Subject: filename now will/can be parsed from the reply header --- src/javascriptInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/javascriptInterface.cpp') diff --git a/src/javascriptInterface.cpp b/src/javascriptInterface.cpp index 881ebf8..f8b8ef6 100644 --- a/src/javascriptInterface.cpp +++ b/src/javascriptInterface.cpp @@ -33,13 +33,13 @@ void javascriptInterface::attachToDOM() void javascriptInterface::startDownload(QString filename) { /* return if no filename in input field */ - if (debug) qDebug() << "javascriptInterace: requesting download: " << filename; + //if (debug) qDebug() << "javascriptInterace: requesting download: " << filename; if (filename.isEmpty()) { _parent->evaluateJavaScript("alert(\"No filename!\")"); return; } - if (debug) qDebug() << "Request download: " << baseURL.resolved(QUrl(filename)).toString(); + //if (debug) qDebug() << "Request download: " << baseURL.resolved(QUrl(filename)).toString(); emit requestFile(filename); } -- cgit v1.2.3-55-g7522