demos/embedded/anomaly/src/HomeView.cpp
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
child 8 3f74d0d4af4c
--- a/demos/embedded/anomaly/src/HomeView.cpp	Fri Feb 19 23:40:16 2010 +0200
+++ b/demos/embedded/anomaly/src/HomeView.cpp	Fri Mar 12 15:46:37 2010 +0200
@@ -51,12 +51,16 @@
     : QWidget(parent)
     , m_addressBar(0)
 {
-    m_addressBar = new AddressBar(parent);
+    m_addressBar = new AddressBar(this);
     connect(m_addressBar, SIGNAL(addressEntered(QString)), SLOT(gotoAddress(QString)));
 
-    m_bookmarks = new BookmarksView(parent);
+    m_bookmarks = new BookmarksView(this);
     connect(m_bookmarks, SIGNAL(urlSelected(QUrl)), SIGNAL(urlActivated(QUrl)));
 
+    QPalette pal =  m_bookmarks->palette();
+    pal.setBrush(QPalette::Base, Qt::white);
+    m_bookmarks->setPalette(pal);
+     
     QVBoxLayout *layout = new QVBoxLayout(this);
     layout->setMargin(4);
     layout->setSpacing(4);