diff options
Diffstat (limited to 'src/sessionmanager.cpp')
-rw-r--r-- | src/sessionmanager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sessionmanager.cpp b/src/sessionmanager.cpp index 8832878b..fbab2d82 100644 --- a/src/sessionmanager.cpp +++ b/src/sessionmanager.cpp @@ -64,6 +64,10 @@ void SessionManager::saveSession() if (!m_safe) return; m_safe = false; + + if( QWebSettings::globalSettings()->testAttribute(QWebSettings::PrivateBrowsingEnabled) ) + return; + QFile sessionFile(m_sessionFilePath); if (!sessionFile.open(QFile::WriteOnly | QFile::Truncate)) { |