summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/game_list.cpp
diff options
context:
space:
mode:
authorLFsWang <tnst92002@gmail.com>2016-03-31 12:58:37 +0200
committerLFsWang <tnst92002@gmail.com>2016-03-31 12:58:37 +0200
commitacfa76aa381f7220606962777510809fa55a6a04 (patch)
treeac53fbf9d105f913c87ca1acf4ba2595bfe4e598 /src/citra_qt/game_list.cpp
parentMerge pull request #1611 from ObsidianX/cfg-common-fix (diff)
downloadyuzu-acfa76aa381f7220606962777510809fa55a6a04.tar
yuzu-acfa76aa381f7220606962777510809fa55a6a04.tar.gz
yuzu-acfa76aa381f7220606962777510809fa55a6a04.tar.bz2
yuzu-acfa76aa381f7220606962777510809fa55a6a04.tar.lz
yuzu-acfa76aa381f7220606962777510809fa55a6a04.tar.xz
yuzu-acfa76aa381f7220606962777510809fa55a6a04.tar.zst
yuzu-acfa76aa381f7220606962777510809fa55a6a04.zip
Diffstat (limited to 'src/citra_qt/game_list.cpp')
-rw-r--r--src/citra_qt/game_list.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/game_list.cpp b/src/citra_qt/game_list.cpp
index a0b216b0a..ffcab1f03 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.toStdString());
if (!FileUtil::Exists(std_file_path) || FileUtil::IsDirectory(std_file_path))
return;
emit GameChosen(file_path);
@@ -148,7 +148,7 @@ void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, bool d
emit EntryReady({
new GameListItem(QString::fromStdString(Loader::GetFileTypeString(filetype))),
- new GameListItemPath(QString::fromLocal8Bit(physical_name.c_str())),
+ new GameListItemPath(QString::fromStdString(physical_name)),
new GameListItemSize(FileUtil::GetSize(physical_name)),
});
}