summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authormatgic78 <matgic78@gmail.com>2010-04-10 11:38:47 +0200
committermatgic78 <matgic78@gmail.com>2010-04-10 11:38:47 +0200
commitc94d51b54d9e69ba03e10c91649f366e0102ee7e (patch)
treec38ad8cded53e548d9e3451cf1f52071fcb9f2f1 /src/mainwindow.cpp
parentFix focus problems and trim search strings (fix encodings problems, step 1) (diff)
downloadrekonq-c94d51b54d9e69ba03e10c91649f366e0102ee7e.tar.xz
Improved "Clear Private Data" dialog appearance
Not a Qt::sheet : use a gradient for background Add Caption Descriptive button text <h3> "clear the following items" Spacers
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;