diff --git a/src/libtomahawk/database/FuzzyIndex.cpp b/src/libtomahawk/database/FuzzyIndex.cpp index fa13bfe30..47e3cdb7e 100644 --- a/src/libtomahawk/database/FuzzyIndex.cpp +++ b/src/libtomahawk/database/FuzzyIndex.cpp @@ -44,7 +44,7 @@ FuzzyIndex::FuzzyIndex( bool wipeIndex ) , m_luceneSearcher( 0 ) { QString m_lucenePath = TomahawkUtils::appDataDir().absoluteFilePath( "tomahawk.lucene" ); - m_luceneDir = FSDirectory::getDirectory( m_lucenePath.toStdString().c_str() ); + m_luceneDir = FSDirectory::getDirectory( m_lucenePath.toUtf8() ); m_analyzer = _CLNEW SimpleAnalyzer(); if ( wipeIndex )