[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [rekonq] src: Get sure private browing action is disabled if users
From: Andrea Diamantini <adjam7 () gmail ! com>
Date: 2011-09-30 21:32:46
Message-ID: 20110930213246.1B378A60A6 () git ! kde ! org
[Download RAW message or body]
Git commit eaa58133caf0a57df906a37bc1ef4ca00925ba1d by Andrea Diamantini, on behalf of Andrea Di Menna.
Committed on 30/09/2011 at 23:34.
Pushed by adjam into branch 'master'.
Get sure private browing action is disabled if users refuse it
REVIEW: 102747
REVIEWED-BY: adjam
M +4 -0 src/application.cpp
http://commits.kde.org/rekonq/eaa58133caf0a57df906a37bc1ef4ca00925ba1d
diff --git a/src/application.cpp b/src/application.cpp
index 985de81..63be0f5 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -676,7 +676,11 @@ void Application::setPrivateBrowsingMode(bool b)
text, caption, KStandardGuiItem::cont(), KStandardGuiItem::cancel(),
i18n("don't ask again"));
if (button != KMessageBox::Continue)
+ {
+ // The user canceled so we should uncheck the box
+ _privateBrowsingAction->setChecked(false);
return;
+ }
settings->setAttribute(QWebSettings::PrivateBrowsingEnabled, true);
_privateBrowsingAction->setChecked(true);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic