mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-16 19:14:06 +02:00
more assert fixes
This commit is contained in:
@@ -54,7 +54,7 @@ NewPlaylistWidget::NewPlaylistWidget( QWidget* parent )
|
||||
connect( ui->buttonBox, SIGNAL( rejected() ), SLOT( cancel() ) );
|
||||
|
||||
m_suggestionsModel = new PlaylistModel( ui->suggestionsView );
|
||||
ui->suggestionsView->setModel( m_suggestionsModel );
|
||||
ui->suggestionsView->setPlaylistModel( m_suggestionsModel );
|
||||
ui->suggestionsView->overlay()->setEnabled( false );
|
||||
|
||||
connect( &m_filterTimer, SIGNAL( timeout() ), SLOT( updateSuggestions() ) );
|
||||
@@ -123,7 +123,7 @@ NewPlaylistWidget::suggestionsFound()
|
||||
|
||||
delete m_suggestionsModel;
|
||||
m_suggestionsModel = new PlaylistModel( ui->suggestionsView );
|
||||
ui->suggestionsView->setModel( m_suggestionsModel );
|
||||
ui->suggestionsView->setPlaylistModel( m_suggestionsModel );
|
||||
|
||||
QList<Tomahawk::query_ptr> ql;
|
||||
foreach( const Tomahawk::plentry_ptr& entry, m_entries )
|
||||
|
Reference in New Issue
Block a user