mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-17 11:30:49 +02:00
* Globally disable focus rects.
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user