summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-22 23:43:46 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-22 23:43:46 +0200
commit370d5677ba15c4e41ba2513bbeed266fe69cbe41 (patch)
treed45d54f9644709f0f4324280c47999c7d5e7601e /src/webpage.cpp
parentshow url on file:// && ftp:// schemes (diff)
downloadrekonq-370d5677ba15c4e41ba2513bbeed266fe69cbe41.tar.xz
Cleaning some kDebug calls
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 9da75a91..507263cc 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -148,8 +148,6 @@ WebPage::~WebPage()
bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &request, NavigationType type)
{
_isOnRekonqPage = false;
- kDebug() << "ACCEPT_NAVIGATION false";
-
_loadingUrl = request.url();
KIO::AccessManager *manager = qobject_cast<KIO::AccessManager*>(networkAccessManager());
@@ -218,8 +216,6 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r
WebPage *WebPage::createWindow(QWebPage::WebWindowType type)
{
- kDebug() << "WebPage createWindow slot";
-
// added to manage web modal dialogs
if (type == QWebPage::WebModalDialog)
kDebug() << "Modal Dialog";
@@ -261,9 +257,6 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply)
QString app = reply->header(QNetworkRequest::ContentTypeHeader).toString();
QStringList headerList = app.split( ';' );
- kDebug() << headerList;
- kDebug() << headerList.count();
-
if(headerList.count() > 0)
{
mimeType = headerList.takeFirst().trimmed();
@@ -311,7 +304,7 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply)
switch (dlg.askEmbedOrSave())
{
case KParts::BrowserOpenOrSaveQuestion::Save:
- kDebug() << "service handling: download!";
+ kDebug() << "user choice: no services, just download!";
downloadThings(reply->request(), suggestedFileName);
return;
@@ -347,7 +340,6 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply)
mainFrame()->setHtml(html);
_isOnRekonqPage = true;
- kDebug() << "EMBED true";
Application::instance()->mainWindow()->mainView()->urlBar()->setQUrl(replyUrl);
Application::instance()->mainWindow()->updateActions();
}
@@ -392,7 +384,7 @@ void WebPage::manageNetworkErrors(QNetworkReply *reply)
&& !domainSchemeMatch(reply->url(), _sslInfo.url())
)
{
- //kDebug() << "Reseting cached SSL info...";
+ // Reseting cached SSL info...
_sslInfo = WebSslInfo();
}
@@ -432,12 +424,11 @@ void WebPage::manageNetworkErrors(QNetworkReply *reply)
{
mainFrame()->setHtml(errorPage(reply));
_isOnRekonqPage = true;
- kDebug() << "ERROR true";
}
break;
default:
- kDebug() << "Nothing to do here..";
+ // Nothing to do here..
break;
}