diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-07-11 10:06:41 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-07-18 11:37:08 +0200 |
commit | c36f3b1351088b86845dd8981a7a9b13b971606e (patch) | |
tree | a039935a831f91fccf6e56ffb6e98e08bf27a513 /src/urlbar/urlbar.cpp | |
parent | WARNING: HISTORY_VERSION upgrade!! (diff) | |
download | rekonq-c36f3b1351088b86845dd8981a7a9b13b971606e.tar.xz |
SSL rewamp, one step to finish!
These are last changes to clean up and improve SSL rekonq
communications.
It is yet missing a proper SSL errors API integration. You just need
to wait for the next commit...
Diffstat (limited to 'src/urlbar/urlbar.cpp')
-rw-r--r-- | src/urlbar/urlbar.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index fa23b6c6..8b3dac65 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -356,6 +356,7 @@ void UrlBar::loadFinished() // show SSL if(_tab->url().scheme() == QL1S("https")) { + // NOTE: the choice for the right SSL icon is done in the addRightIcon method IconButton *bt = addRightIcon(UrlBar::SSL); connect(bt, SIGNAL(clicked(QPoint)), _tab->page(), SLOT(showSSLInfo(QPoint))); } @@ -465,8 +466,8 @@ IconButton *UrlBar::addRightIcon(UrlBar::icon ic) break; case UrlBar::SSL: _tab->page()->hasSslValid() - ? rightIcon->setIcon(KIcon("security-high")) - : rightIcon->setIcon(KIcon("security-low")); + ? rightIcon->setIcon(KIcon("object-locked")) + : rightIcon->setIcon(KIcon("object-unlocked")); rightIcon->setToolTip(i18n("Show SSL Info")); break; case UrlBar::BK: |