From ac9064dcbc6c5c6985bb5894e699ea580e2cb2c2 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 31 May 2012 16:35:45 +0200 Subject: [PATCH] * Trying toLocal8Bit().data() for fixing Windows with non-latin usernames. --- src/libtomahawk/database/FuzzyIndex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/database/FuzzyIndex.cpp b/src/libtomahawk/database/FuzzyIndex.cpp index 74b6aaa3d..8d5a74903 100644 --- a/src/libtomahawk/database/FuzzyIndex.cpp +++ b/src/libtomahawk/database/FuzzyIndex.cpp @@ -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 )