summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-02 03:49:12 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-02 03:49:12 +0100
commit8433f5ced32f8e465925db2d67f8f11f4df1d3e0 (patch)
tree29c4a44be6120ae484f66f1b8cac2906c81a0ab1 /src
parentRonny Scholz string fix about (diff)
downloadrekonq-8433f5ced32f8e465925db2d67f8f11f4df1d3e0.tar.xz
Again, Ronny Scholz patch
about private browsing confirmation dialog
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 517c1e14..df600c05 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -700,8 +700,8 @@ void MainWindow::privateBrowsing(bool enable)
" Until you close the window, you can still click the Back and Forward buttons"
" to return to the web pages you have opened.</p>", title);
- int button = KMessageBox::questionYesNo(this, text, title);
- if (button == KMessageBox::Yes)
+ int button = KMessageBox::warningContinueCancel(this, text, title);
+ if (button == KMessageBox::Continue)
{
settings->setAttribute(QWebSettings::PrivateBrowsingEnabled, true);
m_view->urlBar()->setBackgroundColor(Qt::lightGray); // palette().color(QPalette::Active, QPalette::Background));