summaryrefslogtreecommitdiffstats
path: root/src/javascriptInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/javascriptInterface.cpp')
-rw-r--r--src/javascriptInterface.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}