diff options
Diffstat (limited to 'src/webtab/protocolhandler.cpp')
-rw-r--r-- | src/webtab/protocolhandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webtab/protocolhandler.cpp b/src/webtab/protocolhandler.cpp index dd5527bd..26fd481a 100644 --- a/src/webtab/protocolhandler.cpp +++ b/src/webtab/protocolhandler.cpp @@ -278,6 +278,9 @@ void ProtocolHandler::showResults(const KFileItemList &list) _webwin->urlBar()->setQUrl(_url); _webwin->view()->setFocus(); + if (_frame->page()->settings()->testAttribute(QWebSettings::PrivateBrowsingEnabled)) + return; + HistoryManager::self()->addHistoryEntry(_url, _url.prettyUrl()); } } |