From c0965f72053fc0b73ca8c78e8dee1d0d4d961f46 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 6 Oct 2022 08:58:17 +1000 Subject: [PATCH] Qt: Remove m3u from open file filter --- pcsx2-qt/MainWindow.cpp | 3 +-- pcsx2/Frontend/FullscreenUI.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pcsx2-qt/MainWindow.cpp b/pcsx2-qt/MainWindow.cpp index f56b2786a1..847580a461 100644 --- a/pcsx2-qt/MainWindow.cpp +++ b/pcsx2-qt/MainWindow.cpp @@ -60,7 +60,7 @@ static constexpr char OPEN_FILE_FILTER[] = - QT_TRANSLATE_NOOP("MainWindow", "All File Types (*.bin *.iso *.cue *.chd *.cso *.gz *.elf *.irx *.m3u *.gs *.gs.xz *.gs.zst *.dump);;" + QT_TRANSLATE_NOOP("MainWindow", "All File Types (*.bin *.iso *.cue *.chd *.cso *.gz *.elf *.irx *.gs *.gs.xz *.gs.zst *.dump);;" "Single-Track Raw Images (*.bin *.iso);;" "Cue Sheets (*.cue);;" "MAME CHD Images (*.chd);;" @@ -68,7 +68,6 @@ static constexpr char OPEN_FILE_FILTER[] = "GZ Images (*.gz);;" "ELF Executables (*.elf);;" "IRX Executables (*.irx);;" - "Playlists (*.m3u);;" "GS Dumps (*.gs *.gs.xz *.gs.zst);;" "Block Dumps (*.dump)"); diff --git a/pcsx2/Frontend/FullscreenUI.cpp b/pcsx2/Frontend/FullscreenUI.cpp index e11efcef69..36ccb2030f 100644 --- a/pcsx2/Frontend/FullscreenUI.cpp +++ b/pcsx2/Frontend/FullscreenUI.cpp @@ -900,7 +900,7 @@ void FullscreenUI::DestroyResources() ImGuiFullscreen::FileSelectorFilters FullscreenUI::GetDiscImageFilters() { - return {"*.bin", "*.iso", "*.cue", "*.chd", "*.cso", "*.gz", "*.elf", "*.irx", "*.m3u", "*.gs", "*.gs.xz", "*.gs.zst"}; + return {"*.bin", "*.iso", "*.cue", "*.chd", "*.cso", "*.gz", "*.elf", "*.irx", "*.gs", "*.gs.xz", "*.gs.zst", "*.dump"}; } void FullscreenUI::DoStartPath(const std::string& path, std::optional state_index, std::optional fast_boot)