mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 16:44:05 +02:00
* Try to pass QString to lucene++ via StringUtils.
This commit is contained in:
@@ -44,7 +44,8 @@ FuzzyIndex::FuzzyIndex( QObject* parent, const QString& filename, bool wipe )
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
m_analyzer = newLucene<SimpleAnalyzer>();
|
m_analyzer = newLucene<SimpleAnalyzer>();
|
||||||
m_luceneDir = FSDirectory::open( m_lucenePath.toStdWString() );
|
m_luceneDir = FSDirectory::open( StringUtils::toString( m_lucenePath.toUtf8().constData() ) );
|
||||||
|
// m_luceneDir = FSDirectory::open( m_lucenePath.toStdWString() );
|
||||||
}
|
}
|
||||||
catch ( LuceneException& error )
|
catch ( LuceneException& error )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user