mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
more crash fixes.....
This commit is contained in:
@@ -74,7 +74,7 @@ void
|
||||
DynamicView::setDynamicModel( DynamicModel* model)
|
||||
{
|
||||
m_model = model;
|
||||
PlaylistView::setModel( m_model );
|
||||
PlaylistView::setPlaylistModel( m_model );
|
||||
|
||||
connect( m_model, SIGNAL( trackCountChanged( unsigned int ) ), SLOT( onTrackCountChanged( unsigned int ) ) );
|
||||
connect( m_model, SIGNAL( checkForOverflow() ), this, SLOT( checkForOverflow() ) );
|
||||
|
@@ -65,7 +65,7 @@ DynamicWidget::DynamicWidget( const Tomahawk::dynplaylist_ptr& playlist, QWidget
|
||||
|
||||
m_model = new DynamicModel( this );
|
||||
m_view = new DynamicView( this );
|
||||
m_view->setModel( m_model );
|
||||
m_view->setDynamicModel( m_model );
|
||||
m_view->setContentsMargins( 0, 0, 0, 0 );
|
||||
m_layout->addWidget( m_view, 1 );
|
||||
|
||||
|
Reference in New Issue
Block a user