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:
@@ -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 );
|
||||||
|
@@ -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() );
|
||||||
|
Reference in New Issue
Block a user