Convert Qt's paths to native separators. This ensures normal work of native

file access functions under Windows.
This commit is contained in:
Konstantin Isakov 2009-02-02 01:01:28 +00:00
parent 49abfcbb10
commit 8c71d4e4a1

View file

@ -157,7 +157,7 @@ void MainWindow::makeDictionaries()
for( QStringList::const_iterator i = entries.constBegin();
i != entries.constEnd(); ++i )
allFiles.push_back( dir.filePath( *i ).toLocal8Bit().data() );
allFiles.push_back( QDir::toNativeSeparators( dir.filePath( *i ) ).toLocal8Bit().data() );
}
// Now start a thread to load all the dictionaries