mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-20 21:02:26 +02:00
* Remove focused-item outline on Windows.
This commit is contained in:
@@ -65,6 +65,7 @@ TrackView::TrackView( QWidget* parent )
|
||||
{
|
||||
setFrameShape( QFrame::NoFrame );
|
||||
setAttribute( Qt::WA_MacShowFocusRect, 0 );
|
||||
setStyleSheet( QString( "QTreeView { outline: 0; }" ) );
|
||||
|
||||
setContentsMargins( 0, 0, 0, 0 );
|
||||
setMouseTracking( true );
|
||||
|
@@ -72,6 +72,7 @@ SourceTreeView::SourceTreeView( QWidget* parent )
|
||||
|
||||
setFrameShape( QFrame::NoFrame );
|
||||
setAttribute( Qt::WA_MacShowFocusRect, 0 );
|
||||
setStyleSheet( QString( "QTreeView { outline: 0; }" ) );
|
||||
setContentsMargins( 0, 0, 0, 0 );
|
||||
|
||||
m_playlistMenu.setFont( TomahawkUtils::systemFont() );
|
||||
|
Reference in New Issue
Block a user