From e3b8ece1ce004f2049481ceb668bf05ad3ae99f7 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 16 Dec 2012 17:04:37 +0100 Subject: "Workaround" cookie management in private browsing mode From the note in webpage file: I'm sorry I really cannot let KIO work as needed in private browsing mode. The problem is basically cookie related. This way we lose some features in private browsing mode, but we ensure PRIVACY! This change cannot be reverted until a proper fix for KIO (or the right workaround for rekonq) will be found. BUG: 303552 --- src/webtab/webview.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/webtab/webview.h') diff --git a/src/webtab/webview.h b/src/webtab/webview.h index 9d3a16dc..af199195 100644 --- a/src/webtab/webview.h +++ b/src/webtab/webview.h @@ -63,7 +63,7 @@ public: TextSelection = 0x00000100 }; - explicit WebView(QWidget *parent); + explicit WebView(QWidget *parent, bool isPrivateBrowsing); ~WebView(); WebPage *page(); @@ -170,6 +170,8 @@ private: bool m_accessKeysActive; WebTab *m_parentTab; + + bool m_isPrivateBrowsing; }; #endif -- cgit v1.2.1