summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-25 00:22:43 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-25 00:22:43 +0200
commit067f449de439a1c2ad3f3f9064e14cd57a55d00b (patch)
tree12fa19d823e8537dcddafdab9c591d1385d8e16c
parentRemoving thumbs files on tableWidget changes && removing some (diff)
downloadrekonq-067f449de439a1c2ad3f3f9064e14cd57a55d00b.tar.xz
Cleaning some unuseful kDebug(s)...
-rw-r--r--src/homepage.cpp1
-rw-r--r--src/mainwindow.cpp1
-rw-r--r--src/networkaccessmanager.cpp1
-rw-r--r--src/webpage.cpp6
-rw-r--r--src/webpluginfactory.cpp2
-rw-r--r--src/websnap.cpp1
6 files changed, 2 insertions, 10 deletions
diff --git a/src/homepage.cpp b/src/homepage.cpp
index e1a31dd3..75aa318e 100644
--- a/src/homepage.cpp
+++ b/src/homepage.cpp
@@ -93,7 +93,6 @@ QString HomePage::speedDial()
QStringList names = ReKonfig::previewNames();
QStringList urls = ReKonfig::previewUrls();
- kDebug() << urls;
QString speed = QString();
for(int i = 0; i< urls.count(); ++i)
{
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index c8ac0378..345cfda7 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -926,7 +926,6 @@ void MainWindow::notifyMessage(const QString &msg, Rekonq::Notify status)
case Rekonq::Download:
break;
default:
- kDebug() << "nothing to be notified..";
break;
}
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp
index 6a89d104..90d27cd0 100644
--- a/src/networkaccessmanager.cpp
+++ b/src/networkaccessmanager.cpp
@@ -106,7 +106,6 @@ void NetworkAccessManager::resetDiskCache()
{
m_diskCache = new QNetworkDiskCache(this);
QString location = KStandardDirs::locateLocal("cache", "", true);
- kDebug() << location;
m_diskCache->setCacheDirectory(location);
setCache(m_diskCache);
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 7408b490..f1e5db33 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -272,10 +272,7 @@ bool WebPage::javaScriptPrompt(QWebFrame *frame, const QString &msg, const QStri
QObject *WebPage::createPlugin(const QString &classId, const QUrl &url, const QStringList &paramNames, const QStringList &paramValues)
{
- kDebug() << "create Plugin requested:";
- kDebug() << "classid:" << classId;
- kDebug() << "url:" << url;
- kDebug() << "paramNames:" << paramNames << " paramValues:" << paramValues;
+ kDebug() << "create Plugin requested with classId: " << classId;
QUiLoader loader;
return loader.createWidget(classId, view());
@@ -286,7 +283,6 @@ QObject *WebPage::createPlugin(const QString &classId, const QUrl &url, const QS
void WebPage::slotDownloadRequested(const QNetworkRequest &request)
{
const KUrl url(request.url());
- kDebug() << url;
const QString destUrl = KFileDialog::getSaveFileName(url.fileName(), QString(), view());
if (destUrl.isEmpty()) return;
diff --git a/src/webpluginfactory.cpp b/src/webpluginfactory.cpp
index 52268c3e..5ec6ad55 100644
--- a/src/webpluginfactory.cpp
+++ b/src/webpluginfactory.cpp
@@ -73,7 +73,7 @@ QObject *WebPluginFactory::create(const QString &mimeType,
// this let QtWebKit using builtin plugins
// to load in example flash contents and so on..
- kDebug() << "No plugins found for" << mimeType;
+ kDebug() << "No plugins found for" << mimeType << ". Falling back to QtWebKit ones...";
return 0;
}
diff --git a/src/websnap.cpp b/src/websnap.cpp
index cec81dcd..6293b2e9 100644
--- a/src/websnap.cpp
+++ b/src/websnap.cpp
@@ -115,7 +115,6 @@ void WebSnap::saveResult(bool ok)
m_image = renderPreview(m_page, WIDTH, HEIGHT);
if(m_image.save(path))
{
- kDebug() << "finished";
emit finished();
}
}