mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
[Fix:] Navigationbar's completer popup when used with dark themes
This commit is contained in:
parent
608135ac95
commit
a63078bc02
@ -64,7 +64,6 @@ void LocationCompleterDelegate::paint(QPainter* painter, const QStyleOptionViewI
|
|||||||
const QPalette::ColorRole colorLinkRole = opt.state & QStyle::State_Selected ? QPalette::HighlightedText : QPalette::Link;
|
const QPalette::ColorRole colorLinkRole = opt.state & QStyle::State_Selected ? QPalette::HighlightedText : QPalette::Link;
|
||||||
|
|
||||||
// Draw background
|
// Draw background
|
||||||
painter->fillRect(opt.rect, Qt::white);
|
|
||||||
style->drawPrimitive(QStyle::PE_PanelItemViewItem, &opt, painter, w);
|
style->drawPrimitive(QStyle::PE_PanelItemViewItem, &opt, painter, w);
|
||||||
|
|
||||||
// Draw icon
|
// Draw icon
|
||||||
|
Loading…
Reference in New Issue
Block a user