From 7b2189cd6ff2aa3120e0c5b5aaf26b993e5123b1 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 1 Aug 2011 05:57:51 +0200 Subject: [PATCH] * Disable mimetype checking for now. --- src/libtomahawk/query.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libtomahawk/query.cpp b/src/libtomahawk/query.cpp index d839de92c..93ac8540e 100644 --- a/src/libtomahawk/query.cpp +++ b/src/libtomahawk/query.cpp @@ -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