mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 16:29:43 +01:00
* Switch back to StdWString conversion.
This commit is contained in:
parent
24ce7e823e
commit
8b25ecc359
@ -44,8 +44,7 @@ FuzzyIndex::FuzzyIndex( QObject* parent, const QString& filename, bool wipe )
|
||||
try
|
||||
{
|
||||
m_analyzer = newLucene<SimpleAnalyzer>();
|
||||
m_luceneDir = FSDirectory::open( StringUtils::toString( m_lucenePath.utf16() ) );
|
||||
// m_luceneDir = FSDirectory::open( m_lucenePath.toStdWString() );
|
||||
m_luceneDir = FSDirectory::open( m_lucenePath.toStdWString() );
|
||||
}
|
||||
catch ( LuceneException& error )
|
||||
{
|
||||
|
@ -71,7 +71,7 @@ private:
|
||||
boost::shared_ptr<Lucene::SimpleAnalyzer> m_analyzer;
|
||||
Lucene::IndexWriterPtr m_luceneWriter;
|
||||
Lucene::IndexReaderPtr m_luceneReader;
|
||||
Lucene::DirectoryPtr m_luceneDir;
|
||||
Lucene::FSDirectoryPtr m_luceneDir;
|
||||
Lucene::IndexSearcherPtr m_luceneSearcher;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user