1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

* Trying toLocal8Bit().data() for fixing Windows with non-latin usernames.

This commit is contained in:
Christian Muehlhaeuser 2012-05-31 16:35:45 +02:00
parent f9e7ddfb86
commit ac9064dcbc

View File

@ -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.toLocal8Bit() );
m_luceneDir = FSDirectory::getDirectory( m_lucenePath.toLocal8Bit().data() );
m_analyzer = _CLNEW SimpleAnalyzer();
if ( wipeIndex )