summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
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;