1
0
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:
Leo Franchi
2011-04-13 10:34:40 -04:00
parent 34fe17a3e6
commit 1c409e40f2
2 changed files with 25 additions and 25 deletions

View File

@@ -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() ) );

View File

@@ -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 );