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:
parent
b2f996c60b
commit
75e485e590
@ -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 );
|
||||
|
@ -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 );
|
||||
}
|
||||
|
||||
|
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user