Skip to content
Snippets Groups Projects
Commit 2bc88032 authored by bunnei's avatar bunnei
Browse files

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

Compilation fix
parents e815e4a6 b0e2e1d3
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment