mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
nm, can't rely on activated() as that depends on per-platform click settings
This commit is contained in:
@@ -98,7 +98,7 @@ SourceTreeView::SourceTreeView( QWidget* parent )
|
|||||||
header()->setStretchLastSection( false );
|
header()->setStretchLastSection( false );
|
||||||
header()->setResizeMode( 0, QHeaderView::Stretch );
|
header()->setResizeMode( 0, QHeaderView::Stretch );
|
||||||
|
|
||||||
connect( this, SIGNAL( activated( QModelIndex ) ), SLOT( onItemActivated( QModelIndex ) ) );
|
connect( this, SIGNAL( clicked( QModelIndex ) ), SLOT( onItemActivated( QModelIndex ) ) );
|
||||||
connect( this, SIGNAL( expanded( QModelIndex ) ), this, SLOT( onItemExpanded( QModelIndex ) ) );
|
connect( this, SIGNAL( expanded( QModelIndex ) ), this, SLOT( onItemExpanded( QModelIndex ) ) );
|
||||||
// connect( selectionModel(), SIGNAL( selectionChanged( QItemSelection, QItemSelection ) ), SLOT( onSelectionChanged() ) );
|
// connect( selectionModel(), SIGNAL( selectionChanged( QItemSelection, QItemSelection ) ), SLOT( onSelectionChanged() ) );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user