mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Let's try that with Utf8 again.
This commit is contained in:
@@ -44,9 +44,10 @@ 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" );
|
||||||
QByteArray path = m_lucenePath.toLocal8Bit();
|
QByteArray path = m_lucenePath.toUtf8();
|
||||||
|
const char* cPath = path.constData();
|
||||||
|
|
||||||
m_luceneDir = FSDirectory::getDirectory( path.data() );
|
m_luceneDir = FSDirectory::getDirectory( cPath );
|
||||||
m_analyzer = _CLNEW SimpleAnalyzer();
|
m_analyzer = _CLNEW SimpleAnalyzer();
|
||||||
|
|
||||||
if ( wipeIndex )
|
if ( wipeIndex )
|
||||||
|
Reference in New Issue
Block a user