mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-21 05:11:44 +02:00
* Set 0 indentation on InboxView.
This commit is contained in:
@@ -29,6 +29,13 @@
|
|||||||
InboxView::InboxView( QWidget* parent ) :
|
InboxView::InboxView( QWidget* parent ) :
|
||||||
TrackView( parent )
|
TrackView( parent )
|
||||||
{
|
{
|
||||||
|
proxyModel()->setStyle( PlayableProxyModel::Large );
|
||||||
|
setEmptyTip( tr( "No listening suggestions here." ) );
|
||||||
|
|
||||||
|
setGuid( "inbox" );
|
||||||
|
setHeaderHidden( true );
|
||||||
|
setUniformRowHeights( false );
|
||||||
|
setIndentation( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -76,16 +83,6 @@ InboxPage::InboxPage( QWidget* parent ) :
|
|||||||
setCurrentMode( Flat );
|
setCurrentMode( Flat );
|
||||||
// setCaption( tr( "Inbox Details" ) );
|
// setCaption( tr( "Inbox Details" ) );
|
||||||
|
|
||||||
inboxView->proxyModel()->setStyle( PlayableProxyModel::Large );
|
|
||||||
/* inboxView->proxyModel()->setGroupBy( true );
|
|
||||||
* inboxView->setSortingEnabled( true );
|
|
||||||
* inboxView->proxyModel()->sort( 0 );*/
|
|
||||||
inboxView->setEmptyTip( tr( "No listening suggestions here." ) );
|
|
||||||
|
|
||||||
inboxView->setGuid( "inbox" );
|
|
||||||
inboxView->setHeaderHidden( true );
|
|
||||||
inboxView->setUniformRowHeights( false );
|
|
||||||
|
|
||||||
setPlayableModel( ViewManager::instance()->inboxModel() );
|
setPlayableModel( ViewManager::instance()->inboxModel() );
|
||||||
|
|
||||||
TrackItemDelegate* delegate = new TrackItemDelegate( TrackItemDelegate::Inbox, inboxView, inboxView->proxyModel() );
|
TrackItemDelegate* delegate = new TrackItemDelegate( TrackItemDelegate::Inbox, inboxView, inboxView->proxyModel() );
|
||||||
|
Reference in New Issue
Block a user