1
0
Fork 1
forked from suyu/suyu

Compilation fix

This commit is contained in:
LittleWhite 2016-03-28 12:51:48 +02:00
parent e815e4a6aa
commit b0e2e1d3f5

View file

@ -66,7 +66,7 @@ void GameList::ValidateEntry(const QModelIndex& item)
if (file_path.isEmpty())
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))
return;
emit GameChosen(file_path);