mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 00:09:47 +01:00
* Store path as a temporary QByteArray so the data doesn't get free'd again immediately.
This commit is contained in:
parent
ac9064dcbc
commit
602cf294d0
@ -44,7 +44,9 @@ FuzzyIndex::FuzzyIndex( bool wipeIndex )
|
||||
, m_luceneSearcher( 0 )
|
||||
{
|
||||
QString m_lucenePath = TomahawkUtils::appDataDir().absoluteFilePath( "tomahawk.lucene" );
|
||||
m_luceneDir = FSDirectory::getDirectory( m_lucenePath.toLocal8Bit().data() );
|
||||
QByteArray path = m_lucenePath.toLocal8Bit();
|
||||
|
||||
m_luceneDir = FSDirectory::getDirectory( path.data() );
|
||||
m_analyzer = _CLNEW SimpleAnalyzer();
|
||||
|
||||
if ( wipeIndex )
|
||||
|
Loading…
x
Reference in New Issue
Block a user