1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-21 05:11:44 +02:00

* Disable mimetype checking for now.

This commit is contained in:
Christian Muehlhaeuser
2011-08-01 05:57:51 +02:00
parent 37e77f4fd7
commit 7b2189cd6f

View File

@@ -106,7 +106,7 @@ Query::addResults( const QList< Tomahawk::result_ptr >& newresults )
{ {
QMutexLocker lock( &m_mutex ); QMutexLocker lock( &m_mutex );
const QStringList smt = AudioEngine::instance()->supportedMimeTypes(); /* const QStringList smt = AudioEngine::instance()->supportedMimeTypes();
foreach ( const Tomahawk::result_ptr& result, newresults ) foreach ( const Tomahawk::result_ptr& result, newresults )
{ {
if ( !smt.contains( result->mimetype() ) ) if ( !smt.contains( result->mimetype() ) )
@@ -115,7 +115,9 @@ Query::addResults( const QList< Tomahawk::result_ptr >& newresults )
} }
else else
m_results.append( result ); m_results.append( result );
} }*/
m_results << newresults;
qStableSort( m_results.begin(), m_results.end(), Query::resultSorter ); qStableSort( m_results.begin(), m_results.end(), Query::resultSorter );
// hook up signals, and check solved status // hook up signals, and check solved status