$OpenBSD: patch-src_SideBarView_cpp,v 1.1 2011/03/30 14:00:48 dcoppa Exp $
--- src/SideBarView.cpp.orig	Wed Mar 30 12:53:01 2011
+++ src/SideBarView.cpp	Wed Mar 30 12:57:00 2011
@@ -115,7 +115,7 @@ SideBarTree::SideBarTree( QWidget* parent ) :
     style()->setParent( this );
 
 #elif defined Q_WS_X11
-    if ( style()->objectName() == "cleanlooks" )
+    if ( style()->objectName().compare("Cleanlooks", Qt::CaseInsensitive) == 0)
     {
         // mostly from QCleanLooksStyle.cpp
         QColor button = palette().button().color();
@@ -133,7 +133,7 @@ SideBarTree::SideBarTree( QWidget* parent ) :
     else
     {
         setStyle( new TreeStyle<QPlastiqueStyle> );
-        setStyleSheet( "QTreeView { border: 0px }" );
+        setStyleSheet( "QTreeView { border: 0px; background: white; }" );
     }
 
 #endif
@@ -248,8 +248,8 @@ SideBarTree::drawRow( QPainter* painter, const QStyleO
 
                 QRect rect = option.rect;
 
-                #ifdef LINUX
-                if (qApp->style()->objectName() == "cleanlooks")
+                #ifdef Q_WS_X11
+                if (qApp->style()->objectName().compare("Cleanlooks", Qt::CaseInsensitive) == 0)
                     rect.adjust( 2, 1, width() - 2, -5 );
                 else
                     rect.adjust( 0, 0, width() - 2, -6 );
@@ -274,7 +274,7 @@ SideBarTree::drawRow( QPainter* painter, const QStyleO
 
                 QPixmap avatar = i.data( Qt::DecorationRole ).value<QPixmap>();
                 if (!avatar.isNull()) {
-                    #ifdef LINUX
+                    #ifdef Q_WS_X11
                     QPoint p = rect.topLeft();
                     QColor c = QColor( 0xab, 0xb9, 0xcf ).light( 103 );
                     painter->setPen( c );
@@ -289,7 +289,7 @@ SideBarTree::drawRow( QPainter* painter, const QStyleO
                 noWrap.setWrapMode( QTextOption::NoWrap );
               #ifdef Q_WS_MAC
                 rect.adjust( 48, 10, 0, -10 );
-              #elif defined LINUX
+              #elif defined Q_WS_X11
                 rect.adjust( 44, 6, 0, -6 );
               #else
                 rect.adjust( 48, 6, 0, -6 );
@@ -539,7 +539,6 @@ SideBarTree::contextMenuHandler( const QModelIndex& in
         {
             map[PlayPersonalRadio] = menu.addAction( MooseUtils::icon( "personal_radio" ), tr( "Play %1's Radio Station" ).arg( text ) );
             map[PlayNeighbourRadio] = menu.addAction( MooseUtils::icon( "neighbour_radio" ), tr( "Play %1's Neighbourhood" ).arg( text ) );
-            map[PlayLovedRadio] = menu.addAction( MooseUtils::icon( "loved_radio" ), tr( "Play %1's Loved Tracks" ).arg( text ) );
             menu.addSeparator();
             map[GoToUserPage] = menu.addAction( tr( "Go To %1's Profile" ).arg( text ) );
 
