summaryrefslogtreecommitdiff
path: root/src/urlbar/listitem.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-14 02:33:49 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-14 02:33:49 +0200
commit493c497d23ccb2962880dd8746e4fac4c1788241 (patch)
treeb44e58df23113f1ebfa570711025ddb83d8fea3b /src/urlbar/listitem.cpp
parentMerge branch 'master' of gitorious.org:rekonq/mainline (diff)
downloadrekonq-493c497d23ccb2962880dd8746e4fac4c1788241.tar.xz
Lionel's fixes to the UI.
(at least the first bits, but they seems working really well :) )
Diffstat (limited to 'src/urlbar/listitem.cpp')
-rw-r--r--src/urlbar/listitem.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp
index 91af352b..61a739f8 100644
--- a/src/urlbar/listitem.cpp
+++ b/src/urlbar/listitem.cpp
@@ -51,7 +51,14 @@
ListItem::ListItem(const UrlSearchItem &item, QWidget *parent)
: QWidget(parent)
{
- //preview and icon
+ setAutoFillBackground(true);
+
+ 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
+ setPalette(p);
+
+ // ----------------------------------------
QHBoxLayout *hLayout = new QHBoxLayout;