mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-13 10:32:11 +01:00
[LocationBar] Fixed showin progress over text. Use opacity with QPainter
Not the best solution, but probably the easiest. Closes #1261
This commit is contained in:
parent
2138978ab7
commit
668c8b024a
|
@ -596,6 +596,9 @@ void LocationBar::paintEvent(QPaintEvent* event)
|
||||||
QPainter p(this);
|
QPainter p(this);
|
||||||
p.setBrush(QBrush(bg));
|
p.setBrush(QBrush(bg));
|
||||||
|
|
||||||
|
// We are painting over text, make sure the text stays visible
|
||||||
|
p.setOpacity(0.5);
|
||||||
|
|
||||||
QPen outlinePen(bg.darker(110), 0.8);
|
QPen outlinePen(bg.darker(110), 0.8);
|
||||||
p.setPen(outlinePen);
|
p.setPen(outlinePen);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user