summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-07-26 12:46:21 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-07-26 12:46:21 +0200
commit596e85667d9b2863340318a061dafa676111ff2c (patch)
tree602cd26418abab05643127331d8e3a28ae1af700 /src/mainwindow.cpp
parentClear Data UI (diff)
downloadrekonq-596e85667d9b2863340318a061dafa676111ff2c.tar.xz
New Clear Private Data action
Needs some fixes..
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
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;