From 596e85667d9b2863340318a061dafa676111ff2c Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 26 Jul 2009 12:46:21 +0200 Subject: New Clear Private Data action Needs some fixes.. --- src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 2d809162..ea9f1fea 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -965,12 +965,12 @@ void MainWindow::clearPrivateData() if(clearWidget.clearCachedPages->isChecked()) { - Application::historyManager()->clear(); + Application::networkAccessManager()->resetDiskCache(); } if(clearWidget.clearWebIcons->isChecked()) { - Application::historyManager()->clear(); + QWebSettings::clearIconDatabase(); } } delete dialog; -- cgit v1.2.1