mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
Disable edit triggers on GridView.
This commit is contained in:
@@ -77,6 +77,7 @@ GridView::GridView( QWidget* parent )
|
||||
setViewMode( IconMode );
|
||||
setVerticalScrollMode( QAbstractItemView::ScrollPerPixel );
|
||||
setVerticalScrollBarPolicy( Qt::ScrollBarAlwaysOn );
|
||||
setEditTriggers( NoEditTriggers );
|
||||
|
||||
setStyleSheet( QString( "QListView { background-color: %1; }" ).arg( TomahawkStyle::PAGE_BACKGROUND.name() ) );
|
||||
|
||||
|
Reference in New Issue
Block a user