summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegabigbug <megabigbug@arrakis.(none)>2009-07-27 08:33:14 +0200
committermegabigbug <megabigbug@arrakis.(none)>2009-07-27 08:33:14 +0200
commit57f7b75bc46d08adec800a009b381483268f7573 (patch)
tree652510578a3c5e61ab2d5398be7b429e4a3402ba
parentA lot of fixes here: (diff)
downloadrekonq-57f7b75bc46d08adec800a009b381483268f7573.tar.xz
The Clear Private Data dialog was not working because exec return KDialog::Accepted instead of KDialog::Ok
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 3d5631e0..7e03c392 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -951,7 +951,7 @@ void MainWindow::clearPrivateData()
dialog->setMainWidget(&widget);
- if (dialog->exec() == KDialog::Ok)
+ if (dialog->exec() == KDialog::Accepted)
{
if(clearWidget.clearHistory->isChecked())
{