diff options
Diffstat (limited to 'src/urlbar/listitem.cpp')
-rw-r--r-- | src/urlbar/listitem.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp index 78a929a8..0ab8c2d4 100644 --- a/src/urlbar/listitem.cpp +++ b/src/urlbar/listitem.cpp @@ -66,9 +66,8 @@ ListItem::ListItem(const UrlSearchItem &item, QWidget *parent) m_option.direction = Qt::LeftToRight; QPalette p(palette()); - p.setColor(QPalette::Base, Qt::white); // TODO: choose the correct color - - p.setColor(QPalette::AlternateBase, QColor(247, 247, 247)); // TODO: choose the correct color + p.setColor(QPalette::Base, Application::palette().color(QPalette::Base)); + p.setColor(QPalette::AlternateBase, Application::palette().color(QPalette::AlternateBase)); setPalette(p); deactivate(); |