mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-14 12:59:41 +01:00
Safety first.
This commit is contained in:
parent
b76053c629
commit
67712bdeab
@ -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++ )
|
||||
|
Loading…
x
Reference in New Issue
Block a user