From 705fe11e07c9d6ef73d7802389f945e9392159d2 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 7 Mar 2025 21:32:41 +1000 Subject: [PATCH] Qt: Fix incorrect file filter for memory card import --- src/duckstation-qt/memorycardeditorwindow.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/duckstation-qt/memorycardeditorwindow.cpp b/src/duckstation-qt/memorycardeditorwindow.cpp index d06e74acb..d301c058d 100644 --- a/src/duckstation-qt/memorycardeditorwindow.cpp +++ b/src/duckstation-qt/memorycardeditorwindow.cpp @@ -18,10 +18,11 @@ #include #include -static constexpr char MEMORY_CARD_IMAGE_FILTER[] = QT_TRANSLATE_NOOP( - "MemoryCardEditorWindow", "All Memory Card Types (*.mcd *.mcr *.mc *.srm *.psm *.ps *.ddf *.mem *.vgs *.psx)"); -static constexpr char MEMORY_CARD_IMPORT_FILTER[] = - QT_TRANSLATE_NOOP("MemoryCardEditorWindow", "All Importable Memory Card Types (*.mcd *.mcr *.mc *.gme)"); +static constexpr char MEMORY_CARD_IMAGE_FILTER[] = + QT_TRANSLATE_NOOP("MemoryCardEditorWindow", "DuckStation Memory Card (*.mcd)"); +static constexpr char MEMORY_CARD_IMPORT_FILTER[] = QT_TRANSLATE_NOOP( + "MemoryCardEditorWindow", + "All Importable Memory Card Types (*.mcd *.mcr *.mc *.gme *.srm *.psm *.ps *.ddf *.mem *.vgs *.psx)"); static constexpr char SINGLE_SAVEFILE_FILTER[] = TRANSLATE_NOOP("MemoryCardEditorWindow", "Single Save Files (*.mcs);;All Files (*.*)"); static constexpr std::array, 3> MEMORY_CARD_FILE_REGION_PREFIXES = {{