1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

* Does this potentially fix our Windows non-latin username issues?

This commit is contained in:
Christian Muehlhaeuser
2012-05-30 21:59:10 +02:00
parent 2820774220
commit 2ac0be98d3

View File

@@ -44,7 +44,7 @@ FuzzyIndex::FuzzyIndex( bool wipeIndex )
, m_luceneSearcher( 0 ) , m_luceneSearcher( 0 )
{ {
QString m_lucenePath = TomahawkUtils::appDataDir().absoluteFilePath( "tomahawk.lucene" ); 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(); m_analyzer = _CLNEW SimpleAnalyzer();
if ( wipeIndex ) if ( wipeIndex )