summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-02-14 04:02:53 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-02-14 04:03:59 +0100
commitf75e964d494b9870d0991a33f1981a6485696fda (patch)
tree01acaaa2d083c6f45ebcbe980e6d5a2f0f21a77e /src
parentMerge pull request #2562 from yuriks/pica-refactor3 (diff)
downloadyuzu-f75e964d494b9870d0991a33f1981a6485696fda.tar
yuzu-f75e964d494b9870d0991a33f1981a6485696fda.tar.gz
yuzu-f75e964d494b9870d0991a33f1981a6485696fda.tar.bz2
yuzu-f75e964d494b9870d0991a33f1981a6485696fda.tar.lz
yuzu-f75e964d494b9870d0991a33f1981a6485696fda.tar.xz
yuzu-f75e964d494b9870d0991a33f1981a6485696fda.tar.zst
yuzu-f75e964d494b9870d0991a33f1981a6485696fda.zip
Diffstat (limited to 'src')
-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 28e01d81a..222c82b1c 100644
--- a/src/citra_qt/game_list.cpp
+++ b/src/citra_qt/game_list.cpp
@@ -137,7 +137,7 @@ const QStringList GameList::supported_file_extensions = {"3ds", "3dsx", "elf", "
static bool HasSupportedFileExtension(const std::string& file_name) {
QFileInfo file = QFileInfo(file_name.c_str());
- return GameList::supported_file_extensions.contains(file.completeSuffix(), Qt::CaseInsensitive);
+ return GameList::supported_file_extensions.contains(file.suffix(), Qt::CaseInsensitive);
}
void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsigned int recursion) {