1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-21 05:11:44 +02:00

* Remove focused-item outline on Windows.

This commit is contained in:
Christian Muehlhaeuser
2014-08-25 19:16:47 +02:00
parent 29570da00e
commit 7120a0225a
2 changed files with 2 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ TrackView::TrackView( QWidget* parent )
{ {
setFrameShape( QFrame::NoFrame ); setFrameShape( QFrame::NoFrame );
setAttribute( Qt::WA_MacShowFocusRect, 0 ); setAttribute( Qt::WA_MacShowFocusRect, 0 );
setStyleSheet( QString( "QTreeView { outline: 0; }" ) );
setContentsMargins( 0, 0, 0, 0 ); setContentsMargins( 0, 0, 0, 0 );
setMouseTracking( true ); setMouseTracking( true );

View File

@@ -72,6 +72,7 @@ SourceTreeView::SourceTreeView( QWidget* parent )
setFrameShape( QFrame::NoFrame ); setFrameShape( QFrame::NoFrame );
setAttribute( Qt::WA_MacShowFocusRect, 0 ); setAttribute( Qt::WA_MacShowFocusRect, 0 );
setStyleSheet( QString( "QTreeView { outline: 0; }" ) );
setContentsMargins( 0, 0, 0, 0 ); setContentsMargins( 0, 0, 0, 0 );
m_playlistMenu.setFont( TomahawkUtils::systemFont() ); m_playlistMenu.setFont( TomahawkUtils::systemFont() );