1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-31 13:48:09 +01:00

* Globally disable focus rects.

This commit is contained in:
Christian Muehlhaeuser 2014-08-27 13:31:40 +02:00
parent b2f996c60b
commit 75e485e590
3 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ TrackView::TrackView( QWidget* parent )
setDropIndicatorShown( false );
setDragDropMode( QAbstractItemView::InternalMove );
setDragDropOverwriteMode( false );
setAllColumnsShowFocus( false );
setAllColumnsShowFocus( true );
setVerticalScrollMode( QAbstractItemView::ScrollPerPixel );
setRootIsDecorated( false );
setUniformRowHeights( true );

View File

@ -76,7 +76,7 @@ ProxyStyle::drawPrimitive( PrimitiveElement pe, const QStyleOption* opt, QPainte
return;
}
if ( pe != PE_FrameStatusBar )
if ( pe != PE_FrameStatusBar && pe != PE_FrameFocusRect )
QProxyStyle::drawPrimitive( pe, opt, p, w );
}

View File

@ -95,7 +95,7 @@ SourceTreeView::SourceTreeView( QWidget* parent )
setDragDropMode( QAbstractItemView::DropOnly );
setAcceptDrops( true );
setDropIndicatorShown( false );
setAllColumnsShowFocus( false );
setAllColumnsShowFocus( true );
setUniformRowHeights( false );
setIndentation( 0 );
setSortingEnabled( true );