summaryrefslogtreecommitdiffstats
path: root/src/citra_qt
diff options
context:
space:
mode:
authorLittleWhite <lw.demoscene@googlemail.com>2016-03-28 12:51:48 +0200
committerLittleWhite <lw.demoscene@googlemail.com>2016-03-28 15:33:03 +0200
commitb0e2e1d3f53f6662fa472f461b95429e50a63e46 (patch)
tree8cad7d19171f357bd99f753d395d8b145be91d91 /src/citra_qt
parentMerge pull request #1541 from LFsWang/path (diff)
downloadyuzu-b0e2e1d3f53f6662fa472f461b95429e50a63e46.tar
yuzu-b0e2e1d3f53f6662fa472f461b95429e50a63e46.tar.gz
yuzu-b0e2e1d3f53f6662fa472f461b95429e50a63e46.tar.bz2
yuzu-b0e2e1d3f53f6662fa472f461b95429e50a63e46.tar.lz
yuzu-b0e2e1d3f53f6662fa472f461b95429e50a63e46.tar.xz
yuzu-b0e2e1d3f53f6662fa472f461b95429e50a63e46.tar.zst
yuzu-b0e2e1d3f53f6662fa472f461b95429e50a63e46.zip
Diffstat (limited to 'src/citra_qt')
-rw-r--r--src/citra_qt/game_list.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra_qt/game_list.cpp b/src/citra_qt/game_list.cpp
index f1f1c0be4..a0b216b0a 100644
--- a/src/citra_qt/game_list.cpp
+++ b/src/citra_qt/game_list.cpp
@@ -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);