mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
Convert Qt's paths to native separators. This ensures normal work of native
file access functions under Windows.
This commit is contained in:
parent
49abfcbb10
commit
8c71d4e4a1
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue