mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 10:51:50 -05:00
Merge pull request #1589 from LittleWhite-tb/compil-fix
Compilation fix
This commit is contained in:
commit
2bc88032e2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue