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:
parent
668c038147
commit
221bccdb9c
@ -113,6 +113,11 @@
|
||||
qproperty-fixedheight: 27;
|
||||
}
|
||||
|
||||
#locationbar[secured="true"]
|
||||
{
|
||||
background-color: #ffffbc;
|
||||
}
|
||||
|
||||
#locationbar-bookmarkicon
|
||||
{
|
||||
margin-bottom: 2px;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user