diff options
Diffstat (limited to 'src/browserapplication.cpp')
-rw-r--r-- | src/browserapplication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/browserapplication.cpp b/src/browserapplication.cpp index 897037ab..8a1ffc5a 100644 --- a/src/browserapplication.cpp +++ b/src/browserapplication.cpp @@ -203,7 +203,7 @@ void BrowserApplication::clean() void BrowserApplication::saveSession() { QWebSettings *globalSettings = QWebSettings::globalSettings(); - if (globalSettings->testAttribute(QWebSettings::PrivateBrowsingEnabled)) + if ( globalSettings->testAttribute( QWebSettings::PrivateBrowsingEnabled ) ) return; clean(); @@ -250,7 +250,7 @@ void BrowserApplication::restoreLastSession() BrowserMainWindow *newWindow = 0; if (m_mainWindows.count() == 1 && mainWindow()->tabWidget()->count() == 1 - && mainWindow()->currentTab()->url() == QUrl()) + && mainWindow()->currentTab()->url() == KUrl()) { newWindow = mainWindow(); } |