diff options
author | matgic78 <matgic78@gmail.com> | 2010-04-02 19:06:26 +0200 |
---|---|---|
committer | matgic78 <matgic78@gmail.com> | 2010-04-05 11:28:01 +0200 |
commit | b4f7463d6f4c760d4bab84fd3b4c8ac71b228ae3 (patch) | |
tree | d3f9b5bf86e9da0582fc5ba38b8e31f03bf2976e | |
parent | This commit is the first implementation of a new new new urlbar (diff) | |
download | rekonq-b4f7463d6f4c760d4bab84fd3b4c8ac71b228ae3.tar.xz |
Clear downloads in "clear private data" dialog
-rw-r--r-- | src/cleardata.ui | 12 | ||||
-rw-r--r-- | src/mainwindow.cpp | 7 |
2 files changed, 17 insertions, 2 deletions
diff --git a/src/cleardata.ui b/src/cleardata.ui index b70d3b5a..7de7543f 100644 --- a/src/cleardata.ui +++ b/src/cleardata.ui @@ -24,7 +24,17 @@ <item> <widget class="QCheckBox" name="clearHistory"> <property name="text"> - <string>History</string> + <string>Visited pages history</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="clearDownloads"> + <property name="text"> + <string>Downloads history</string> </property> <property name="checked"> <bool>true</bool> diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 85f14738..af26ef42 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1186,7 +1186,12 @@ void MainWindow::clearPrivateData() { Application::historyManager()->clear(); } - + + if(clearWidget.clearDownloads->isChecked()) + { + Application::historyManager()->clearDownloadsHistory(); + } + if(clearWidget.clearCookies->isChecked()) { QDBusInterface kcookiejar("org.kde.kded", "/modules/kcookiejar", "org.kde.KCookieServer"); |