From 8433f5ced32f8e465925db2d67f8f11f4df1d3e0 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 2 Feb 2010 03:49:12 +0100 Subject: Again, Ronny Scholz patch about private browsing confirmation dialog --- src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.cpp') 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.

", 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)); -- cgit v1.2.1