change file path encoding to Local8bit()

to support non-latin characters
This commit is contained in:
wwylele 2015-10-20 20:58:23 +03:00
parent 7411aed5c7
commit 6e57389172
2 changed files with 5 additions and 5 deletions

View file

@ -80,7 +80,7 @@ void GameList::DonePopulating()
void GameList::PopulateAsync(const QString& dir_path, bool deep_scan)
{
if (!FileUtil::Exists(dir_path.toStdString()) || !FileUtil::IsDirectory(dir_path.toStdString())) {
LOG_ERROR(Frontend, "Could not find game list folder at %s", dir_path.toLatin1().data());
LOG_ERROR(Frontend, "Could not find game list folder at %s", dir_path.toLocal8Bit().data());
return;
}