1
0
Fork 0
forked from suyu/suyu

Merge pull request #1589 from LittleWhite-tb/compil-fix

Compilation fix
This commit is contained in:
bunnei 2016-03-28 10:25:31 -04:00
commit 2bc88032e2

View file

@ -66,7 +66,7 @@ void GameList::ValidateEntry(const QModelIndex& item)
if (file_path.isEmpty()) if (file_path.isEmpty())
return; return;
std::string std_file_path = file_path.toLocal8Bit(); std::string std_file_path(file_path.toLocal8Bit());
if (!FileUtil::Exists(std_file_path) || FileUtil::IsDirectory(std_file_path)) if (!FileUtil::Exists(std_file_path) || FileUtil::IsDirectory(std_file_path))
return; return;
emit GameChosen(file_path); emit GameChosen(file_path);