1
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:
nowrep 2012-07-02 16:38:27 +02:00
parent 608135ac95
commit a63078bc02

View File

@ -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