mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-20 04:41:36 +02:00
* Disable mimetype checking for now.
This commit is contained in:
@@ -106,7 +106,7 @@ Query::addResults( const QList< Tomahawk::result_ptr >& newresults )
|
||||
{
|
||||
QMutexLocker lock( &m_mutex );
|
||||
|
||||
const QStringList smt = AudioEngine::instance()->supportedMimeTypes();
|
||||
/* const QStringList smt = AudioEngine::instance()->supportedMimeTypes();
|
||||
foreach ( const Tomahawk::result_ptr& result, newresults )
|
||||
{
|
||||
if ( !smt.contains( result->mimetype() ) )
|
||||
@@ -115,7 +115,9 @@ Query::addResults( const QList< Tomahawk::result_ptr >& newresults )
|
||||
}
|
||||
else
|
||||
m_results.append( result );
|
||||
}
|
||||
}*/
|
||||
|
||||
m_results << newresults;
|
||||
qStableSort( m_results.begin(), m_results.end(), Query::resultSorter );
|
||||
|
||||
// hook up signals, and check solved status
|
||||
|
Reference in New Issue
Block a user