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