1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-13 20:39:57 +01:00

Safety first.

This commit is contained in:
Christian Muehlhaeuser 2014-11-06 06:05:53 +01:00
parent b76053c629
commit 67712bdeab

View File

@ -334,6 +334,8 @@ SearchWidget::onResultsFound( const QList<Tomahawk::result_ptr>& results )
while ( queries.count() )
{
query_ptr q = queries.takeFirst();
if ( !q->results().count() )
continue;
bool done = false;
for ( int i = 0; i < m_resultsModel->rowCount( QModelIndex() ); i++ )