diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-09-25 18:02:23 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:05 +0100 |
commit | 02d9b5fe590303e540c1ff9111e0cfe3194f7e7d (patch) | |
tree | f2515238feb6593efc89621805046cca4d24b968 /src/urlbar | |
parent | Don't overwrite downloads by default (diff) | |
download | rekonq-02d9b5fe590303e540c1ff9111e0cfe3194f7e7d.tar.xz |
New Private Browsing mode :D
Diffstat (limited to 'src/urlbar')
-rw-r--r-- | src/urlbar/urlbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index db24188b..56d1370d 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -213,7 +213,7 @@ void UrlBar::paintEvent(QPaintEvent *event) QColor backgroundColor; QColor foregroundColor; - if (QWebSettings::globalSettings()->testAttribute(QWebSettings::PrivateBrowsingEnabled)) + if (_tab->page()->settings()->testAttribute(QWebSettings::PrivateBrowsingEnabled)) { backgroundColor = QColor(220, 220, 220); // light gray foregroundColor = Qt::black; @@ -651,7 +651,7 @@ void UrlBar::suggest() void UrlBar::refreshFavicon() { - if (QWebSettings::globalSettings()->testAttribute(QWebSettings::PrivateBrowsingEnabled)) + if (_tab->page()->settings()->testAttribute(QWebSettings::PrivateBrowsingEnabled)) { _icon->setIcon(KIcon("view-media-artist")); return; |