From 7cf991bd8af8d6b9d8af3dbe4595ece9f8f56771 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Sun, 2 Aug 2020 16:18:07 +0200 Subject: [PATCH] GCMemcardManager: Small cleanups. --- Source/Core/DolphinQt/GCMemcardManager.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinQt/GCMemcardManager.cpp b/Source/Core/DolphinQt/GCMemcardManager.cpp index 0347818c0f..51533dbf2b 100644 --- a/Source/Core/DolphinQt/GCMemcardManager.cpp +++ b/Source/Core/DolphinQt/GCMemcardManager.cpp @@ -300,7 +300,7 @@ void GCMemcardManager::SetSlotFile(int slot, QString path) else { m_slot_memcard[slot] = nullptr; - ModalMessageBox::critical( + ModalMessageBox::warning( this, tr("Error"), tr("Failed opening memory card:\n%1").arg(GetErrorMessagesForErrorCode(error_code))); } @@ -315,7 +315,8 @@ void GCMemcardManager::SetSlotFileInteractive(int slot) this, slot == 0 ? tr("Set memory card file for Slot A") : tr("Set memory card file for Slot B"), QString::fromStdString(File::GetUserPath(D_GCUSER_IDX)), - tr("GameCube Memory Cards (*.raw *.gcp)") + QStringLiteral(";;") + tr("All Files (*)"))); + QStringLiteral("%1 (*.raw *.gcp);;%2 (*)") + .arg(tr("GameCube Memory Cards"), tr("All Files")))); if (!path.isEmpty()) m_slot_file_edit[slot]->setText(path); }