summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/game_list.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-04-05 03:55:08 +0200
committerbunnei <bunneidev@gmail.com>2016-04-05 03:55:08 +0200
commitb39340849631f565cf5c32bfdbab9fdc0bd4db9d (patch)
tree8112be75d7f65ced275221040231a0ca1ae4f415 /src/citra_qt/game_list.cpp
parentMerge pull request #1640 from lioncash/cpp14 (diff)
parentremove debug code (diff)
downloadyuzu-b39340849631f565cf5c32bfdbab9fdc0bd4db9d.tar
yuzu-b39340849631f565cf5c32bfdbab9fdc0bd4db9d.tar.gz
yuzu-b39340849631f565cf5c32bfdbab9fdc0bd4db9d.tar.bz2
yuzu-b39340849631f565cf5c32bfdbab9fdc0bd4db9d.tar.lz
yuzu-b39340849631f565cf5c32bfdbab9fdc0bd4db9d.tar.xz
yuzu-b39340849631f565cf5c32bfdbab9fdc0bd4db9d.tar.zst
yuzu-b39340849631f565cf5c32bfdbab9fdc0bd4db9d.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)),
});
}