summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-06-03 01:22:42 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-06-03 01:22:42 +0200
commitef16d73349ad4319aa53a804106cf049c8f6f820 (patch)
tree3dae7c76a120adcbcb25387aa4d943788ac58790 /src
parentSVN_SILENT made messages (.desktop file) (diff)
downloadrekonq-ef16d73349ad4319aa53a804106cf049c8f6f820.tar.xz
Fix suggestion colors.
This patch is heavily based on thijs merge request about. He fixed just the alternating colors and with the wrong one. This patch should let rekonq urlbar follow KDE color settings
Diffstat (limited to 'src')
-rw-r--r--src/urlbar/listitem.cpp5
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();