diff --git a/modules/gui/qt4/components/playlist/selector.cpp b/modules/gui/qt4/components/playlist/selector.cpp index 8b49d49b382b76a7f10a9ad3c1962f153e8a407c..fcd4ae7a060b46e927b80839ed12fde02af9dffa 100644 --- a/modules/gui/qt4/components/playlist/selector.cpp +++ b/modules/gui/qt4/components/playlist/selector.cpp @@ -103,6 +103,7 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf ) { /* Properties */ setFrameStyle( QFrame::NoFrame ); + setAttribute( Qt::WA_MacShowFocusRect, false ); viewport()->setAutoFillBackground( false ); setIconSize( QSize( 24,24 ) ); setIndentation( 12 ); diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp index e7c15b2bcfda88cce7ca729d35cdf8357ff0d6c0..9ab59928706482ffa0181f8f84ed631a2697dcd2 100644 --- a/modules/gui/qt4/components/playlist/standardpanel.cpp +++ b/modules/gui/qt4/components/playlist/standardpanel.cpp @@ -286,6 +286,7 @@ void StandardPLPanel::createTreeView() treeView->setAnimated( true ); treeView->setUniformRowHeights( true ); treeView->setSortingEnabled( true ); + treeView->setAttribute( Qt::WA_MacShowFocusRect, false ); treeView->header()->setSortIndicator( -1 , Qt::AscendingOrder ); treeView->header()->setSortIndicatorShown( true ); treeView->header()->setClickable( true ); diff --git a/modules/gui/qt4/components/playlist/views.cpp b/modules/gui/qt4/components/playlist/views.cpp index 3af0233ea73260cc6bbabb5afd52c167ffc722f1..2888703cdc29bc7ced9e84f5498b59b0aab6f75c 100644 --- a/modules/gui/qt4/components/playlist/views.cpp +++ b/modules/gui/qt4/components/playlist/views.cpp @@ -295,6 +295,7 @@ PlIconView::PlIconView( PLModel *model, QWidget *parent ) : QListView( parent ) setUniformItemSizes( true ); setSelectionMode( QAbstractItemView::ExtendedSelection ); setDragEnabled(true); + setAttribute( Qt::WA_MacShowFocusRect, false ); /* dropping in QListView::IconMode does not seem to work */ //setAcceptDrops( true ); //setDropIndicatorShown(true); @@ -326,6 +327,7 @@ PlListView::PlListView( PLModel *model, QWidget *parent ) : QListView( parent ) PlListViewItemDelegate *delegate = new PlListViewItemDelegate( this ); setItemDelegate( delegate ); + setAttribute( Qt::WA_MacShowFocusRect, false ); } void PlListView::startDrag ( Qt::DropActions supportedActions )