[LocationBar] Fixed showin progress over text. Use opacity with QPainter

Not the best solution, but probably the easiest.
Closes #1261
remotes/origin/falkon
David Rosca 12 years ago
parent 2138978ab7
commit 668c8b024a
  1. 3
      src/lib/navigation/locationbar.cpp

@ -596,6 +596,9 @@ void LocationBar::paintEvent(QPaintEvent* event)
QPainter p(this);
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);
p.setPen(outlinePen);

Loading…
Cancel
Save