summaryrefslogtreecommitdiff
path: root/src/tabwindow
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-03-14 15:22:23 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-03-14 15:22:23 +0100
commit1097149bf3296e7142098a64ff85b459556cc66c (patch)
treed802d4ef09d76a5a948af30c829fe687f4fec52e /src/tabwindow
parentLet rekonq save file remotely (again) (diff)
downloadrekonq-1097149bf3296e7142098a64ff85b459556cc66c.tar.xz
Do NOT save sessions in private browsing windows
Oooops... ;) BUG: 316325
Diffstat (limited to 'src/tabwindow')
-rw-r--r--src/tabwindow/rekonqwindow.cpp6
-rw-r--r--src/tabwindow/rekonqwindow.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/tabwindow/rekonqwindow.cpp b/src/tabwindow/rekonqwindow.cpp
index 0e6515bd..9d0b0e23 100644
--- a/src/tabwindow/rekonqwindow.cpp
+++ b/src/tabwindow/rekonqwindow.cpp
@@ -119,6 +119,12 @@ WebWindow *RekonqWindow::currentWebWindow() const
}
+bool RekonqWindow::isPrivateBrowsingMode()
+{
+ return _tabWidget->isPrivateBrowsingWindowMode();
+}
+
+
// --------------------------------------------------------------------------------------------------
diff --git a/src/tabwindow/rekonqwindow.h b/src/tabwindow/rekonqwindow.h
index 1d46faeb..3c1d3c91 100644
--- a/src/tabwindow/rekonqwindow.h
+++ b/src/tabwindow/rekonqwindow.h
@@ -64,6 +64,8 @@ public:
TabBar *tabBar();
WebWindow *currentWebWindow() const;
+ bool isPrivateBrowsingMode();
+
private:
void init();