mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
Safety first.
This commit is contained in:
@@ -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++ )
|
||||
|
Reference in New Issue
Block a user