1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Showing yellow locationbar on secured page in default linux theme.

- linux default theme was the only one theme, where you couldn't
  recognize whether you are on secured on normal page

  it now shows light yellow background of locationbar
This commit is contained in:
nowrep 2011-12-12 21:47:32 +01:00
parent 668c038147
commit 221bccdb9c
2 changed files with 9 additions and 0 deletions

View File

@ -113,6 +113,11 @@
qproperty-fixedheight: 27;
}
#locationbar[secured="true"]
{
background-color: #ffffbc;
}
#locationbar-bookmarkicon
{
margin-bottom: 2px;

View File

@ -236,6 +236,10 @@ void LocationBar::setPrivacy(bool state)
m_siteIcon->setProperty("secured", state);
m_siteIcon->style()->unpolish(m_siteIcon);
m_siteIcon->style()->polish(m_siteIcon);
setProperty("secured", state);
style()->unpolish(this);
style()->polish(this);
}
void LocationBar::dropEvent(QDropEvent* event)