summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index c49f8e7c..c8794664 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1169,8 +1169,12 @@ void MainWindow::notifyMessage(const QString &msg, Rekonq::Notify status)
void MainWindow::clearPrivateData()
{
- QWeakPointer<KDialog> dialog = new KDialog(this, Qt::Sheet);
+ QWeakPointer<KDialog> dialog = new KDialog(this);
+ dialog.data()->setCaption(i18n("Clear Private Data"));
dialog.data()->setButtons(KDialog::Ok | KDialog::Cancel);
+
+ dialog.data()->button(KDialog::Ok)->setIcon(KIcon("edit-clear"));
+ dialog.data()->button(KDialog::Ok)->setText(i18n("Clear"));
Ui::ClearDataWidget clearWidget;
QWidget widget;